Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrReferenceHasChanged = errors.New("reference has changed concurrently")
Functions ¶
This section is empty.
Types ¶
type ModuleStorer ¶
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 ¶
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/cooper/go-git/v4/storage contains 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. |
Click to show internal directories.
Click to hide internal directories.