Changeset View
Changeset View
Standalone View
Standalone View
src/workingcopy/ArcanistFilesystemWorkingCopy.php
| <?php | <?php | ||||
| final class ArcanistFilesystemWorkingCopy | final class ArcanistFilesystemWorkingCopy | ||||
| extends ArcanistWorkingCopy { | extends ArcanistWorkingCopy { | ||||
| public function getMetadataDirectory() { | public function getMetadataDirectory() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| protected function newWorkingCopyFromDirectories( | protected function newWorkingCopyFromDirectories( | ||||
| $working_directory, | $working_directory, | ||||
| $ancestor_directory) { | $ancestor_directory) { | ||||
| return null; | return null; | ||||
| } | } | ||||
| protected function newRepositoryAPI() { | protected function newRepositoryAPI() { | ||||
| return new ArcanistFilesystemAPI(); | return new ArcanistFilesystemAPI($this->getPath()); | ||||
| } | } | ||||
| public function getProjectConfigurationFilePath() { | public function getProjectConfigurationFilePath() { | ||||
| // We don't support project-level configuration for "filesytem" working | // We don't support project-level configuration for "filesytem" working | ||||
| // copies because scattering random ".arcconfig" files around the | // copies because scattering random ".arcconfig" files around the | ||||
| // filesystem and having them affect program behavior is silly. | // filesystem and having them affect program behavior is silly. | ||||
| return null; | return null; | ||||
| } | } | ||||
| } | } | ||||