Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93530231
PhabricatorRepositoryConfigOptions.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
Fri, Nov 29, 12:11
Size
906 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 12:11 (2 d)
Engine
blob
Format
Raw Data
Handle
22660474
Attached To
rPH Phabricator
PhabricatorRepositoryConfigOptions.php
View Options
<?php
final
class
PhabricatorRepositoryConfigOptions
extends
PhabricatorApplicationConfigOptions
{
public
function
getName
()
{
return
pht
(
'Repositories'
);
}
public
function
getDescription
()
{
return
pht
(
'Configure repositories.'
);
}
public
function
getFontIcon
()
{
return
'fa-hdd-o'
;
}
public
function
getOptions
()
{
return
array
(
$this
->
newOption
(
'repository.default-local-path'
,
'string'
,
'/var/repo/'
)
->
setLocked
(
true
)
->
setSummary
(
pht
(
'Default location to store local copies of repositories.'
))
->
setDescription
(
pht
(
'The default location in which to store working copies and other '
.
'data about repositories. Phabricator will control and manage '
.
'data here, so you should **not** choose an existing directory '
.
'full of data you care about.'
)),
);
}
}
Event Timeline
Log In to Comment