Enum git2::build::CloneLocal [−][src]
pub enum CloneLocal {
Auto,
Local,
None,
NoLinks,
// some variants omitted
}
Expand description
Options that can be passed to RepoBuilder::clone_local
.
Variants
Auto-detect (default)
Here libgit2 will bypass the git-aware transport for local paths, but
use a normal fetch for file://
urls.
Bypass the git-aware transport even for file://
urls.
Never bypass the git-aware transport
Bypass the git-aware transport, but don’t try to use hardlinks.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CloneLocal
impl Send for CloneLocal
impl Sync for CloneLocal
impl Unpin for CloneLocal
impl UnwindSafe for CloneLocal
Blanket Implementations
Mutably borrows from an owned value. Read more