mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-27 07:46:13 +00:00
feat(providers): get_repo to read one repo's visibility
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0884d556ce
commit
fc309f9b18
4 files changed
+55
No files matched your search
@@ -104,6 +104,8 @@ pub trait Provider {
|
||||
fn capabilities(&self) -> Capabilities;
|
||||
/// Verifies the token and returns the authenticated login.
|
||||
fn test_connection(&self) -> Result<String>;
|
||||
/// One repo's metadata (notably its visibility): `GET /repos/{owner}/{repo}`.
|
||||
fn get_repo(&self, owner: &str, name: &str) -> Result<RemoteRepo>;
|
||||
fn list_repos(&self) -> Result<Vec<RemoteRepo>>;
|
||||
fn create_repo(&self, new: &NewRepo) -> Result<RemoteRepo>;
|
||||
fn configure_mirror(&self, owner: &str, repo: &str, spec: &MirrorSpec) -> Result<()>;
|
||||
|
||||
Reference in new issue
Block a user