Storage is an implementation of git.Storer that stores data on disk in the standard git format (this is, the .git directory). Zero values of this type are not safe to use, see the NewStorage function below.
| 12 | // standard git format (this is, the .git directory). Zero values of this type |
| 13 | // are not safe to use, see the NewStorage function below. |
| 14 | type Storage struct { |
| 15 | fs billy.Filesystem |
| 16 | dir *dotgit.DotGit |
| 17 | |
| 18 | ObjectStorage |
| 19 | ReferenceStorage |
| 20 | IndexStorage |
| 21 | ShallowStorage |
| 22 | ConfigStorage |
| 23 | ModuleStorage |
| 24 | } |
| 25 | |
| 26 | // Options holds configuration for the storage. |
| 27 | type Options struct { |
nothing calls this directly
no outgoing calls
no test coverage detected