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

Method KeepAlive

src/bcsdk/tx.go:99–101  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

97}
98
99func (tx *Tx) KeepAlive(ctx context.Context) error {
100 return tx.s.KeepAlive(ctx, []blobcache.Handle{tx.h})
101}
102
103func (tx *Tx) Post(ctx context.Context, data []byte) (CID, error) {
104 return tx.s.Post(ctx, tx.h, data, blobcache.PostOpts{})

Callers

nothing calls this directly

Calls 1

KeepAliveMethod · 0.65

Tested by

no test coverage detected