Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepository.php
Show First 20 Lines • Show All 1,920 Lines • ▼ Show 20 Lines | /* -( Repository URI Management )------------------------------------------ */ | ||||
public function getFilesizeLimit() { | public function getFilesizeLimit() { | ||||
return $this->getDetail('limit.filesize'); | return $this->getDetail('limit.filesize'); | ||||
} | } | ||||
public function setFilesizeLimit($limit) { | public function setFilesizeLimit($limit) { | ||||
return $this->setDetail('limit.filesize', $limit); | return $this->setDetail('limit.filesize', $limit); | ||||
} | } | ||||
public function getTouchLimit() { | |||||
return $this->getDetail('limit.touch'); | |||||
} | |||||
public function setTouchLimit($limit) { | |||||
return $this->setDetail('limit.touch', $limit); | |||||
} | |||||
/** | /** | ||||
* Retrieve the service URI for the device hosting this repository. | * Retrieve the service URI for the device hosting this repository. | ||||
* | * | ||||
* See @{method:newConduitClient} for a general discussion of interacting | * See @{method:newConduitClient} for a general discussion of interacting | ||||
* with repository services. This method provides lower-level resolution of | * with repository services. This method provides lower-level resolution of | ||||
* services, returning raw URIs. | * services, returning raw URIs. | ||||
* | * | ||||
* @param PhabricatorUser Viewing user. | * @param PhabricatorUser Viewing user. | ||||
▲ Show 20 Lines • Show All 868 Lines • Show Last 20 Lines |