Struct rasslib::vcs::GitWrapper [] [src]

pub struct GitWrapper {
    // some fields omitted
}

Methods

impl GitWrapper

fn new(repo_path: &str) -> GitWrapper

Trait Implementations

impl VersionControl for GitWrapper

fn add(&self, file: &str) -> Result<ExitStatus>

fn commit(&self, message: &str) -> Result<ExitStatus>

fn remove(&self, file: &str) -> Result<ExitStatus>

fn cmd_dispatch(&self, args: Vec<&str>) -> Result<ExitStatus>

Derived Implementations

impl Debug for GitWrapper

fn fmt(&self, __arg_0: &mut Formatter) -> Result