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

Method Load

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

Load loads the volume root into dst

(ctx context.Context, tx Handle, dst *[]byte)

Source from the content-addressed store, hash-verified

132 Abort(ctx context.Context, tx Handle) error
133 // Load loads the volume root into dst
134 Load(ctx context.Context, tx Handle, dst *[]byte) error
135 // Save writes to the volume root.
136 // Like all operations in a transaction, Save will not be visible until Commit is called.
137 Save(ctx context.Context, tx Handle, src []byte) error

Callers 15

fuse.goFile · 0.65
daemon.goFile · 0.65
handle.goFile · 0.65
ns.goFile · 0.65
openByNameFunction · 0.65
git.goFile · 0.65
glfs.goFile · 0.65
viewGLFSFunction · 0.65
modifyGLFSFunction · 0.65
tx.goFile · 0.65
remoteSpecFunction · 0.65
peerSpecFunction · 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