Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93879372
DrydockFilesystemInterface.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, Dec 2, 05:31
Size
541 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 05:31 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22716357
Attached To
rPH Phabricator
DrydockFilesystemInterface.php
View Options
<?php
abstract
class
DrydockFilesystemInterface
extends
DrydockInterface
{
final
public
function
getInterfaceType
()
{
return
'filesystem'
;
}
/**
* Reads a file on the Drydock resource and returns the contents of the file.
*/
abstract
public
function
readFile
(
$path
);
/**
* Reads a file on the Drydock resource and saves it as a PhabricatorFile.
*/
abstract
public
function
saveFile
(
$path
,
$name
);
/**
* Writes a file to the Drydock resource.
*/
abstract
public
function
writeFile
(
$path
,
$data
);
}
Event Timeline
Log In to Comment