Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7862242
ArcanistBookmarksWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
ArcanistBookmarksWorkflow.php
View Options
<?php
final
class
ArcanistBookmarksWorkflow
extends
ArcanistMarkersWorkflow
{
public
function
getWorkflowName
()
{
return
'bookmarks'
;
}
public
function
getWorkflowArguments
()
{
return
array
();
}
public
function
getWorkflowInformation
()
{
$help
=
pht
(
<<<EOHELP
Lists bookmarks in the working copy, annotated with additional information
about review status.
EOHELP
);
return
$this
->
newWorkflowInformation
()
->
setSynopsis
(
pht
(
'Show an enhanced view of bookmarks in the working copy.'
))
->
addExample
(
pht
(
'**bookmarks**'
))
->
setHelp
(
$help
);
}
protected
function
getWorkflowMarkerType
()
{
$api
=
$this
->
getRepositoryAPI
();
$marker_type
=
ArcanistMarkerRef
::
TYPE_BOOKMARK
;
if
(!
$this
->
hasMarkerTypeSupport
(
$marker_type
))
{
throw
new
PhutilArgumentUsageException
(
pht
(
'The version control system ("%s") in the current working copy '
.
'does not support bookmarks.'
,
$api
->
getSourceControlSystemName
()));
}
return
$marker_type
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 13, 20:16 (1 d, 6 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
876978
Default Alt Text
ArcanistBookmarksWorkflow.php (1 KB)
Attached To
Mode
R118 Arcanist - fork
Attached
Detach File
Event Timeline
Log In to Comment