Repo

Trait Repo 

Source
pub trait Repo {
    // Required methods
    fn read(&self, rel: &str) -> Result<String, String>;
    fn list(&self, rel: &str) -> Result<Vec<String>, String>;
}
Expand description

2026-09-29: Read access to a repository, by repo-relative path.

Required Methods§

Source

fn read(&self, rel: &str) -> Result<String, String>

2026-09-29: The text of rel.

Source

fn list(&self, rel: &str) -> Result<Vec<String>, String>

2026-09-29: Every file under the directory rel, recursively, repo-relative with /.

Implementors§