mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-12 18:02:39 +01:00
adea2550f5
Summary: Ref T11968. Inches toward the new ref/hardpoint code by introducing the modern refs as "RefPro" objects and supporting an "arc inspect <object>" to load objects and hardpoints. This doesn't impact any existing runtime behavior. Test Plan: Ran "arc inspect [--all] commit(...)", got hardpoint queries and yield-based data fetching. Maniphest Tasks: T11968 Differential Revision: https://secure.phabricator.com/D21078
27 lines
667 B
PHP
27 lines
667 B
PHP
<?php
|
|
|
|
final class ArcanistFilesystemWorkingCopy
|
|
extends ArcanistWorkingCopy {
|
|
|
|
public function getMetadataDirectory() {
|
|
return null;
|
|
}
|
|
|
|
protected function newWorkingCopyFromDirectories(
|
|
$working_directory,
|
|
$ancestor_directory) {
|
|
return null;
|
|
}
|
|
|
|
protected function newRepositoryAPI() {
|
|
return new ArcanistFilesystemAPI($this->getPath());
|
|
}
|
|
|
|
public function getProjectConfigurationFilePath() {
|
|
// We don't support project-level configuration for "filesytem" working
|
|
// copies because scattering random ".arcconfig" files around the
|
|
// filesystem and having them affect program behavior is silly.
|
|
return null;
|
|
}
|
|
|
|
}
|