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