import "github.com/go-git/go-git/storage"
type ModuleStorer interface { // Module returns a Storer representing a submodule, if not exists returns a // new empty Storer is returned Module(name string) (Storer, error) }
ModuleStorer allows interact with the modules' Storers
type Storer interface { storer.EncodedObjectStorer storer.ReferenceStorer storer.ShallowStorer storer.IndexStorer config.ConfigStorer ModuleStorer }
Storer is a generic storage of objects, references and any information related to a particular repository. The package github.com/go-git/go-git/v5/storage contains two implementation a filesystem base implementation (such as `.git`) and a memory implementations being ephemeral
Path | Synopsis |
---|---|
filesystem | Package filesystem is a storage backend base on filesystems |
filesystem/dotgit | https://github.com/git/git/blob/master/Documentation/gitrepository-layout.txt |
memory | Package memory is a storage backend base on memory |
test | |
transactional | 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 storage imports 3 packages (graph). Updated 2020-07-22. Refresh now. Tools for package owners.