+4
-4
util/readrecordbs.go
+4
-4
util/readrecordbs.go
···
52
}
53
54
func (bs *LoggingBstore) DeleteBlock(ctx context.Context, c cid.Cid) error {
55
-
return fmt.Errorf("deletes not allowed on read-record blockstore")
56
}
57
58
func (bs *LoggingBstore) Put(context.Context, blockformat.Block) error {
59
-
return fmt.Errorf("writes not allowed on read-record blockstore")
60
}
61
62
func (bs *LoggingBstore) PutMany(context.Context, []blockformat.Block) error {
63
-
return fmt.Errorf("writes not allowed on read-record blockstore")
64
}
65
66
func (bs *LoggingBstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
67
-
return nil, fmt.Errorf("iteration not supported on read-record blockstore")
68
}
69
70
func (bs *LoggingBstore) HashOnRead(enabled bool) {
···
52
}
53
54
func (bs *LoggingBstore) DeleteBlock(ctx context.Context, c cid.Cid) error {
55
+
return fmt.Errorf("deletes not allowed on logging blockstore")
56
}
57
58
func (bs *LoggingBstore) Put(context.Context, blockformat.Block) error {
59
+
return fmt.Errorf("writes not allowed on logging blockstore")
60
}
61
62
func (bs *LoggingBstore) PutMany(context.Context, []blockformat.Block) error {
63
+
return fmt.Errorf("writes not allowed on logging blockstore")
64
}
65
66
func (bs *LoggingBstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
67
+
return nil, fmt.Errorf("iteration not allowed on logging blockstore")
68
}
69
70
func (bs *LoggingBstore) HashOnRead(enabled bool) {