tangled
alpha
login
or
join now
willdot.net
/
cocoon
forked from
hailey.at/cocoon
0
fork
atom
An atproto PDS written in Go
0
fork
atom
overview
issues
pulls
pipelines
fix
hailey.at
7 months ago
ac10b7c6
9fbd74c1
+3
-2
2 changed files
expand all
collapse all
unified
split
recording_blockstore
recording_blockstore.go
sqlite_blockstore
sqlite_blockstore.go
+2
-1
recording_blockstore/recording_blockstore.go
···
2
2
3
3
import (
4
4
"context"
5
5
+
"fmt"
5
6
6
7
blockformat "github.com/ipfs/go-block-format"
7
8
"github.com/ipfs/go-cid"
···
58
59
}
59
60
60
61
func (bs *RecordingBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
61
61
-
return bs.AllKeysChan(ctx)
62
62
+
return nil, fmt.Errorf("iteration not allowed on recording blockstore")
62
63
}
63
64
64
65
func (bs *RecordingBlockstore) HashOnRead(enabled bool) {
+1
-1
sqlite_blockstore/sqlite_blockstore.go
···
129
129
}
130
130
131
131
func (bs *SqliteBlockstore) AllKeysChan(ctx context.Context) (<-chan cid.Cid, error) {
132
132
-
panic("not implemented")
132
132
+
return nil, fmt.Errorf("iteration not allowed on sqlite blockstore")
133
133
}
134
134
135
135
func (bs *SqliteBlockstore) HashOnRead(enabled bool) {