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

Method OpenFrom

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

OpenFrom returns a handle to an object by it's ID. base is the handle of a Volume, which links to the object. the base Volume's schema must be a Container.

(ctx context.Context, base Handle, ltok LinkToken, mask ActionSet)

Source from the content-addressed store, hash-verified

63 // base is the handle of a Volume, which links to the object.
64 // the base Volume's schema must be a Container.
65 OpenFrom(ctx context.Context, base Handle, ltok LinkToken, mask ActionSet) (*Handle, error)
66
67 // BeginTx begins a new transaction, on a Volume.
68 BeginTx(ctx context.Context, volh Handle, txp TxParams) (*Handle, error)

Callers 11

ServeHTTPMethod · 0.65
volume.goFile · 0.65
setPreviewLinkMethod · 0.65
OpenFromMethod · 0.65
OpenFromMethod · 0.65
TxAPIFunction · 0.65
ServeBCPMethod · 0.65
OpenFromMethod · 0.65
openFromMethod · 0.65
doFromMethod · 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 1