Skip to main content

RepoView

Trait RepoView 

Source
pub trait RepoView {
    // Required methods
    fn root(&self) -> &Utf8Path;
    fn read_to_string(&self, rel: &Utf8Path) -> Result<String, Error>;
    fn exists(&self, rel: &Utf8Path) -> bool;
}
Expand description

Shared repository view used by all fixers.

Required Methods§

Source

fn root(&self) -> &Utf8Path

Source

fn read_to_string(&self, rel: &Utf8Path) -> Result<String, Error>

Source

fn exists(&self, rel: &Utf8Path) -> bool

Implementations on Foreign Types§

Source§

impl RepoView for FsRepoView

Source§

fn root(&self) -> &Utf8Path

Source§

fn read_to_string(&self, rel: &Utf8Path) -> Result<String, Error>

Source§

fn exists(&self, rel: &Utf8Path) -> bool

Implementors§