The DotGit type represents a local git repository on disk. This type is not zero-value-safe, use the New function to initialize it.
| 98 | // The DotGit type represents a local git repository on disk. This |
| 99 | // type is not zero-value-safe, use the New function to initialize it. |
| 100 | type DotGit struct { |
| 101 | options Options |
| 102 | fs billy.Filesystem |
| 103 | |
| 104 | // incoming object directory information |
| 105 | incomingChecked bool |
| 106 | incomingDirName string |
| 107 | |
| 108 | objectList []plumbing.Hash // sorted |
| 109 | objectMap map[plumbing.Hash]struct{} |
| 110 | packList []plumbing.Hash |
| 111 | packMap map[plumbing.Hash]struct{} |
| 112 | |
| 113 | files map[plumbing.Hash]billy.File |
| 114 | } |
| 115 | |
| 116 | // New returns a DotGit value ready to be used. The path argument must |
| 117 | // be the absolute path of a git repository directory (e.g. |
nothing calls this directly
no outgoing calls
no test coverage detected