mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
adf42db5ea
Summary: Ref T10748. Ref T10337. This technically implements this stuff, but it does not do anything useful yet. This skips all the hard stuff. Test Plan: - Technically used `diffusion.repository.search` to get repository information. - Technically used `diffusion.repository.edit` to change a repository name. - Used `editpro/` to edit a repository name. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10337, T10748 Differential Revision: https://secure.phabricator.com/D15736
18 lines
390 B
PHP
18 lines
390 B
PHP
<?php
|
|
|
|
final class DiffusionRepositorySearchConduitAPIMethod
|
|
extends PhabricatorSearchEngineAPIMethod {
|
|
|
|
public function getAPIMethodName() {
|
|
return 'diffusion.repository.search';
|
|
}
|
|
|
|
public function newSearchEngine() {
|
|
return new PhabricatorRepositorySearchEngine();
|
|
}
|
|
|
|
public function getMethodSummary() {
|
|
return pht('Read information about repositories.');
|
|
}
|
|
|
|
}
|