MCPcopy
hub / github.com/go-git/go-git / Storage

Interface Storage

storage/transactional/storage.go:16–19  ·  view source on GitHub ↗

Storage 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. The API and functionality of this package are considered EXPERIMENTAL and is not considered stable nor production ready.

Source from the content-addressed store, hash-verified

14// The API and functionality of this package are considered EXPERIMENTAL and is
15// not considered stable nor production ready.
16type Storage interface {
17 storage.Storer
18 Commit() error
19}
20
21// basic implements the Storage interface.
22type basic struct {

Callers 3

TestCommitMethod · 0.95
CommitMethod · 0.65

Implementers 11

Worktreeworktree.go
TxObjectStoragestorage/memory/storage.go
IndexStoragestorage/transactional/index.go
basicstorage/transactional/storage.go
ShallowStoragestorage/transactional/shallow.go
ReferenceStoragestorage/transactional/reference.go
ObjectStoragestorage/transactional/object.go
ConfigStoragestorage/transactional/config.go
Tagplumbing/object/tag.go
graphCommitNodeplumbing/object/commitgraph/commitnode
objectCommitNodeplumbing/object/commitgraph/commitnode

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…