Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12660907
ArcanistCommitSymbolRefInspector.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
479 B
Referenced Files
None
Subscribers
None
ArcanistCommitSymbolRefInspector.php
View Options
<?php
final
class
ArcanistCommitSymbolRefInspector
extends
ArcanistRefInspector
{
public
function
getInspectFunctionName
()
{
return
'commit'
;
}
public
function
newInspectRef
(
array
$argv
)
{
if
(
count
(
$argv
)
!==
1
)
{
throw
new
PhutilArgumentUsageException
(
pht
(
'Expected exactly one argument to "commit(...)" with a '
.
'commit symbol.'
));
}
return
id
(
new
ArcanistCommitSymbolRef
())
->
setSymbol
(
$argv
[
0
]);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 28, 15:42 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1047134
Default Alt Text
ArcanistCommitSymbolRefInspector.php (479 B)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment