diff options
author | EuAndreh <eu@euandre.org> | 2025-01-25 16:25:01 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-01-25 16:25:01 -0300 |
commit | 21b5f081016a4ce1bbeddee214ea0bc552f4fc92 (patch) | |
tree | ffc126ed6dbfd84e3eef7bddde042b84fc983a1c /src/dedo.go | |
parent | src/dedo.go: Remove Bucket.Sequence() and Bucket.SetSequence() (diff) | |
download | dedo-21b5f081016a4ce1bbeddee214ea0bc552f4fc92.tar.gz dedo-21b5f081016a4ce1bbeddee214ea0bc552f4fc92.tar.xz |
src/dedo.go: Remove public Cursor.Bucket() and Tx.DB() public functions
Diffstat (limited to 'src/dedo.go')
-rw-r--r-- | src/dedo.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/dedo.go b/src/dedo.go index 12fdad6..4c56d4d 100644 --- a/src/dedo.go +++ b/src/dedo.go @@ -1118,11 +1118,6 @@ func cloneBytes(v []byte) []byte { return clone } -/// Cursor.Bucket() returns the bucket that this cursor was created from. -func (c *Cursor) Bucket() *Bucket { - return c.bucket -} - /// Cursor.First() moves the cursor to the first item in the bucket and returns /// its key and value. If the bucket is empty then a nil key and value are /// returned. The returned key and value are only valid for the life of the @@ -3330,11 +3325,6 @@ func (tx *Tx) ID() int { return int(tx.meta.txid) } -/// Tx.DB() returns a reference to the database that created the transaction. -func (tx *Tx) DB() *DB { - return tx.db -} - /// Tx.Size() returns current database size in bytes as seen by this /// transaction. func (tx *Tx) Size() int64 { |