[][src]Struct git_subcopy::App

pub struct App { /* fields omitted */ }

Methods

impl App[src]

pub fn new() -> Result<Self>[src]

pub fn fetch(&self, url: &str, update_existing: bool) -> Result<Repository>[src]

pub fn extract(
    &self,
    repo: &Repository,
    rev: Oid,
    upstream_path: &Path,
    local_path: &Path
) -> Result<()>
[src]

pub fn canonicalize(
    &self,
    repo: &Repository,
    local_path: &Path
) -> Result<PathBuf>
[src]

pub fn register(
    &self,
    url: &str,
    rev: Oid,
    upstream_path: &Path,
    local_path: &Path
) -> Result<()>
[src]

pub fn list(&self) -> Result<HashMap<String, SubcopyConfigOption>>[src]

pub fn get(&self, key: &Path) -> Result<SubcopyConfig>[src]

pub fn with_repo<F, T>(
    &self,
    url: &str,
    rev: &str,
    upstream_path: &Path,
    local_path: &Path,
    callback: F
) -> Result<T> where
    F: FnOnce(&Repository) -> Result<T>, 
[src]

Auto Trait Implementations

impl Send for App

impl Sync for App

impl Unpin for App

impl UnwindSafe for App

impl RefUnwindSafe for App

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,