Struct rhq_core::Repository
[−]
[src]
pub struct Repository { /* fields omitted */ }local repository
Methods
impl Repository[src]
fn from_path<P: AsRef<Path>>(path: P) -> Result<Self>[src]
Make an instance of Repository from local path.
fn from_path_with_remote<P: AsRef<Path>>(
path: P,
remote: Remote
) -> Result<Self>[src]
path: P,
remote: Remote
) -> Result<Self>
fn refresh(self) -> Option<Self>[src]
Check existence of repository and drop if not exists.
fn is_same_local(&self, other: &Self) -> bool[src]
fn is_contained<P: AsRef<Path>>(&self, path: P) -> bool[src]
fn run_command<I, S>(&self, command: &str, args: I) -> Result<bool> where
I: IntoIterator<Item = S>,
S: AsRef<OsStr> + Display, [src]
I: IntoIterator<Item = S>,
S: AsRef<OsStr> + Display,
Run command into the repository.
fn name(&self) -> &str[src]
fn path_string(&self) -> String[src]
fn remote(&self) -> Option<&Remote>[src]
Trait Implementations
impl Clone for Repository[src]
fn clone(&self) -> Repository[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more