Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108071183
DiffusionGitFileContentQuery.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Apr 13, 21:58
Size
394 B
Mime Type
text/x-php
Expires
Tue, Apr 15, 21:58 (2 d)
Engine
blob
Format
Raw Data
Handle
25518434
Attached To
rPH Phabricator
DiffusionGitFileContentQuery.php
View Options
<?php
final
class
DiffusionGitFileContentQuery
extends
DiffusionFileContentQuery
{
protected
function
newQueryFuture
()
{
$drequest
=
$this
->
getRequest
();
$repository
=
$drequest
->
getRepository
();
$path
=
$drequest
->
getPath
();
$commit
=
$drequest
->
getCommit
();
return
$repository
->
getLocalCommandFuture
(
'cat-file blob %s:%s'
,
$commit
,
$path
);
}
}
Event Timeline
Log In to Comment