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

Method Drop

src/blobcache/handle.go:18–18  ·  view source on GitHub ↗

Drop causes a handle to be released immediately. If all the handles to an object are dropped, the object is deleted.

(ctx context.Context, h Handle)

Source from the content-addressed store, hash-verified

16 // Drop causes a handle to be released immediately.
17 // If all the handles to an object are dropped, the object is deleted.
18 Drop(ctx context.Context, h Handle) error
19 // KeepAlive extends the TTL for some handles.
20 KeepAlive(ctx context.Context, hs []Handle) error
21 // InspectHandle returns info about a handle.

Callers 10

ServeHTTPMethod · 0.65
handle.goFile · 0.65
DropMethod · 0.65
DropMethod · 0.65
ServeBCPMethod · 0.65
DropMethod · 0.65
TestSuiteFunction · 0.65
DropMethod · 0.65
CommitMethod · 0.65
AbortMethod · 0.65

Implementers 5

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

Calls

no outgoing calls

Tested by 1

TestSuiteFunction · 0.52