aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dedo.go10
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 {