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>;
    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>

Source

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

Implementors§