[−][src]Struct git_subcopy::App
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]
&self,
repo: &Repository,
rev: Oid,
upstream_path: &Path,
local_path: &Path
) -> Result<()>
pub fn canonicalize(
&self,
repo: &Repository,
local_path: &Path
) -> Result<PathBuf>
[src]
&self,
repo: &Repository,
local_path: &Path
) -> Result<PathBuf>
pub fn register(
&self,
url: &str,
rev: Oid,
upstream_path: &Path,
local_path: &Path
) -> Result<()>
[src]
&self,
url: &str,
rev: Oid,
upstream_path: &Path,
local_path: &Path
) -> Result<()>
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]
&self,
url: &str,
rev: &str,
upstream_path: &Path,
local_path: &Path,
callback: F
) -> Result<T> where
F: FnOnce(&Repository) -> Result<T>,
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,