Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3281173
ArcanistGitWorkingCopy.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
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
Sun, Mar 23, 19:52 (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113360
Default Alt Text
ArcanistGitWorkingCopy.php (478 B)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment