Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12656120
ArcanistGitWorkingCopy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
478 B
Referenced Files
None
Subscribers
None
ArcanistGitWorkingCopy.php
View Options
<?php
final
class
ArcanistGitWorkingCopy
extends
ArcanistWorkingCopy
{
public
function
getMetadataDirectory
()
{
return
$this
->
getPath
(
'.git'
);
}
protected
function
newWorkingCopyFromDirectories
(
$working_directory
,
$ancestor_directory
)
{
if
(!
Filesystem
::
pathExists
(
$ancestor_directory
.
'/.git'
))
{
return
null
;
}
return
new
self
();
}
protected
function
newRepositoryAPI
()
{
return
new
ArcanistGitAPI
(
$this
->
getPath
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 28, 15:09 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1045952
Default Alt Text
ArcanistGitWorkingCopy.php (478 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment