Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77113660
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
Mon, Aug 12, 12:20
Size
394 B
Mime Type
text/x-php
Expires
Wed, Aug 14, 12:20 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19811096
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