storage
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
var ErrReferenceHasChanged =errors.New("reference has changed concurrently")Functions¶
This section is empty.
Types¶
typeModuleStorer¶
type ModuleStorer interface {// Module returns a Storer representing a submodule, if not exists returns a// new empty Storer is returnedModule(namestring) (Storer,error)}ModuleStorer allows interact with the modules' Storers
typeStorer¶
type Storer interface {storer.EncodedObjectStorerstorer.ReferenceStorerstorer.ShallowStorerstorer.IndexStorerconfig.ConfigStorerModuleStorer}Storer is a generic storage of objects, references and any informationrelated to a particular repository. The package github.com/go-git/go-git/v5/storagecontains two implementation a filesystem base implementation (such as `.git`)and a memory implementations being ephemeral
Directories¶
| Path | Synopsis |
|---|---|
Package filesystem is a storage backend base on filesystems | Package filesystem is a storage backend base on filesystems |
dotgit https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt | https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt |
Package memory is a storage backend base on memory | Package memory is a storage backend base on memory |
Package transactional is a transactional implementation of git.Storer, it demux the write and read operation of two separate storers, allowing to merge content calling Storage.Commit. | Package transactional is a transactional implementation of git.Storer, it demux the write and read operation of two separate storers, allowing to merge content calling Storage.Commit. |