From 4827c67c7795a5da4e785279ce0a016ad1cfd27e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 7 Feb 2025 18:50:44 -0300 Subject: src/dedo.go: Comment implementation of InMemory --- src/dedo.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/dedo.go b/src/dedo.go index ef626ee..baf0d37 100644 --- a/src/dedo.go +++ b/src/dedo.go @@ -1658,6 +1658,7 @@ func initDB(db *DB, size int64) error { return nil } +/* func (tx *inMemoryTx) Bucket(name []byte) *Bucket { bucket, _ := tx.db.Get(name) return bucket @@ -1757,6 +1758,7 @@ func (m *InMemory) View(func(SnapshotI) error) error { func OpenMemory() DedoI { return &InMemory{pds.NewMap[[]byte, *Bucket](nil)} } +*/ /// Open creates and opens a database at the given path. If the file does not /// exist then it will be created automatically. -- cgit v1.2.3