aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* src/dedo.go: Remove unused bucket.forEachPage() methodEuAndreh2025-02-101-13/+0
* src/dedo.go: Simple rename from DB to databaseTEuAndreh2025-02-101-62/+62
* src/dedo.go: Remove duplicate code of bucketT.NextID()EuAndreh2025-02-101-14/+4
* src/dedo.go: Simple rename Cursor -> cursorTEuAndreh2025-02-101-43/+43
* src/dedo.go: Simple rename Bucket -> bucketTEuAndreh2025-02-101-81/+81
* src/dedo.go: Remove separate RO concrete structs - snapshotT, roBucketTEuAndreh2025-02-101-35/+0
* src/dedo.go: Introduce roBucketT typeEuAndreh2025-02-091-7/+11
* src/dedo.go: Introduce snapshotT typeEuAndreh2025-02-091-0/+31
* src/dedo.go: Move transactionT to the beginning of the fileEuAndreh2025-02-091-18/+18
* src/dedo.go: Simple renames - beginRWTx->beginTransaction, beginTx->beginSnap...EuAndreh2025-02-091-4/+4
* src/dedo.go: Simple rename of Tx to transactionTEuAndreh2025-02-091-56/+56
* src/dedo.go: Move public interfaces to the beginning of the fileEuAndreh2025-02-091-30/+30
* src/dedo.go: Replace usage of empty `interface{}` with `any`EuAndreh2025-02-091-2/+2
* src/dedo.go: Add Bucket.NextID() that returns []bytes instead of uint64EuAndreh2025-02-091-0/+25
* src/dedo.go: Rename DedoI -> DatabaseIEuAndreh2025-02-081-10/+10
* src/dedo.go: Comment implementation of InMemoryEuAndreh2025-02-071-0/+2
* src/dedo.go: Inline code of db.begin()EuAndreh2025-02-071-9/+2
* src/dedo.go: Make SnapshotI a subset of TransactionIEuAndreh2025-02-071-11/+9
* src/dedo.go: Rename TxI -> TransactionIEuAndreh2025-02-071-11/+13
* src/dedo.go: Rename IDedo -> DedoI, ITx -> TxIEuAndreh2025-02-071-20/+20
* src/dedo.go: Introduce SnapshotI typeEuAndreh2025-02-071-10/+17
* src/dedo.go: Introduce inMemoryTxEuAndreh2025-02-071-7/+89
* src/dedo.go: Introduce ITx interfaceEuAndreh2025-02-061-15/+31
* src/dedo.go: Start implementation of in-memory variationEuAndreh2025-02-061-0/+29
* src/dedo.go: Replace concrete *DB type with IDedo interfaceEuAndreh2025-02-061-8/+15
* src/dedo.go: Remove AllocSize from DB typeEuAndreh2025-02-061-6/+6
* src/dedo.go: Remove StrictMode field from DB typeEuAndreh2025-02-061-24/+0
* tests/dedo.go: Add tests for usage(), getGetopt() and setGetopt()EuAndreh2025-02-061-1/+1
* src/dedo.go: Parameterize the file "magic" byte markersEuAndreh2025-01-301-13/+27
* tests/dedo.go: Add tests for getopt() and runCommand()EuAndreh2025-01-271-1/+1
* src/dedo.go: Add "rm" commandEuAndreh2025-01-251-0/+16
* src/dedo.go: Remove public PageInfo typeEuAndreh2025-01-251-8/+0
* src/dedo.go: Remove Tx.CopyFile() and Tx.Page() public functionsEuAndreh2025-01-251-44/+0
* src/dedo.go: Remove public Cursor.Bucket() and Tx.DB() public functionsEuAndreh2025-01-251-10/+0
* src/dedo.go: Remove Bucket.Sequence() and Bucket.SetSequence()EuAndreh2025-01-251-25/+0
* src/dedo.go: Remove Bucket.Writable() and Tx.Writable() public APIEuAndreh2025-01-251-16/+6
* src/dedo.go: Remove Tx.managed fieldEuAndreh2025-01-251-13/+0
* src/dedo.go: Remove public API for manually managing transactionsEuAndreh2025-01-251-23/+23
* Stylistic: stick to 80 columns and rewrite if err := ... codeEuAndreh2025-01-251-713/+1004
* src/dedo.go: Remove unused DB.lockfile fieldEuAndreh2025-01-251-1/+0
* src/dedo.go: Remove unused const variablesEuAndreh2025-01-241-17/+1
* src/dedo.go: Remove dbops typeEuAndreh2025-01-241-13/+3
* src/dedo.go: Remove Stats-related codeEuAndreh2025-01-241-299/+0
* Remove other unused codeEuAndreh2025-01-241-47/+0
* src/dedo.go: Remove old CLI code (~2k LoC!!)EuAndreh2025-01-241-1591/+0
* src/dedo.go: Start rewrite and simplification of CLI implEuAndreh2025-01-241-2/+236
* src/dedo.go: Change magic marker to my ownEuAndreh2025-01-241-1/+1
* src/dedo.go: Remove deprecated Tx.Copy() methodEuAndreh2025-01-241-10/+3
* src/dedo.go: Simplify initDB()EuAndreh2025-01-231-89/+83
* src/dedo.go: Instantiate &DB{} only after opening the file; simplify Open()EuAndreh2024-12-311-43/+54