MCPcopy Create free account
hub / github.com/blobcache/blobcache / Commit

Method Commit

src/blobcache/volume.go:130–130  ·  view source on GitHub ↗

Commit commits a transaction.

(ctx context.Context, tx Handle)

Source from the content-addressed store, hash-verified

128 InspectTx(ctx context.Context, tx Handle) (*TxInfo, error)
129 // Commit commits a transaction.
130 Commit(ctx context.Context, tx Handle) error
131 // Abort aborts a transaction.
132 Abort(ctx context.Context, tx Handle) error
133 // Load loads the volume root into dst

Callers 8

glfs.goFile · 0.65
modifyGLFSFunction · 0.65
tx.goFile · 0.65
setContentsFunction · 0.65
TxAPIFunction · 0.65
ModifyFunction · 0.65
CommitFunction · 0.65
SaveCommitFunction · 0.65

Implementers 6

Clientsrc/bchttp/client.go
Servicesrc/blobcachecmd/service.go
Servicesrc/bclocal/bclocal.go
Systemsrc/bccore/bccore.go
Servicesrc/bcremote/bcremote.go
Clientsrc/bcipc/client.go

Calls

no outgoing calls

Tested by

no test coverage detected