Repository_Clone_Local - SwiftDocOrg/Git GitHub Wiki

Repository.Clone.Local

public enum Local

Enumeration Cases

automatic

case automatic
  • Auto-detect (default), libgit2 will bypass the git-aware

  • transport for local paths, but use a normal fetch for

  • file:​// urls.

yes

Bypass the git-aware transport even for a file:​// url.

case yes(useHardLinks:​ Bool = true)

no

Do no bypass the git-aware transport

case no

Properties

rawValue

var rawValue:​ git_clone_local_t