aboutsummaryrefslogtreecommitdiff
path: root/meta.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate code for clarity.Ben Johnson2014-05-051-69/+0
| | | | | | This commit consolidates some of the smaller files into some of the larger files. The smaller files cluttered the file tree and made it harder to see the logical groupings of structs.
* Add nested buckets.Ben Johnson2014-04-111-1/+1
| | | | | | | This commit adds the ability to create buckets inside of other buckets. It also replaces the buckets page with a root bucket. Fixes #56.
* Add meta page checksums.Ben Johnson2014-04-021-8/+20
| | | | | | | | | | | | This commit adds checksums to the meta pages on every write. When the database loads, it verifies the checksums on the meta pages and returns an error if either one is corrupt. In the future, it should fallback to the previous meta page but for right now it just hard fails. This is at least preferable to opening the database and getting a random error or further corruption. Fixes #25.
* Error refactoring.Ben Johnson2014-03-241-0/+13
| | | | Fixed up a few error issues and refactored out the Error type.
* Consolidate Tx and RWTx.Ben Johnson2014-03-081-1/+1
|
* Rename Transaction to Tx.Ben Johnson2014-03-081-3/+3
| | | | | I changed the Transaction/RWTransaction types to Tx/RWTx, respectively. This makes the naming more consistent with other packages such as database/sql. The txnid is changed to txid as well.
* Rename errors.Ben Johnson2014-02-161-2/+2
|
* API Documentation.Ben Johnson2014-02-131-1/+1
|
* Add freelist.Ben Johnson2014-02-101-3/+3
|
* Rename sys ☞ buckets.Ben Johnson2014-02-051-2/+2
|
* Fix quick tests.Ben Johnson2014-02-051-1/+1
|
* Add RWTransaction.Put().Ben Johnson2014-02-011-2/+3
|
* Clean up API.Ben Johnson2014-01-311-7/+1
|
* Add RWTransaction.write().Ben Johnson2014-01-301-1/+13
|
* Fix leaf/branch deserialization.Ben Johnson2014-01-301-2/+2
|
* Add freelist page type.Ben Johnson2014-01-291-0/+1
|
* Refactor meta.copy() and page.init().Ben Johnson2014-01-291-2/+9
|
* Intermediate.Ben Johnson2014-01-271-1/+3
|
* Initialize transaction/rwtransaction.Ben Johnson2014-01-261-1/+1
|
* TODOBen Johnson2014-01-241-42/+6
|
* Add system buckets.Ben Johnson2014-01-141-2/+2
|
* Initial db.open.Ben Johnson2014-01-111-16/+13
|
* DB.Open(), pages, and meta.Ben Johnson2014-01-101-9/+43
|
* Basic types.Ben Johnson2014-01-081-0/+32