aboutsummaryrefslogtreecommitdiff
path: root/bolt.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add Windows support.Ben Johnson2014-06-111-13/+0
|
* Avoid trashing page cache on Tx.Copy().Ben Johnson2014-05-231-1/+5
| | | | | This commit change the database copy to use O_DIRECT so that the Linux page cache is not trashed during a backup. This is only available on Linux.
* Consolidate code for clarity.Ben Johnson2014-05-051-25/+5
| | | | | | 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.
* Remove DB.Open() and only allow bolt.Open().Ben Johnson2014-03-311-10/+0
| | | | | | | Per @tv42's suggestion, this commit removes the ability to reopen an instance of DB. All open calls go through bolt.Open(). Fixes #103.
* Add DB.Check().Ben Johnson2014-03-291-0/+8
|
* Minor refactor.Ben Johnson2014-02-281-0/+16
|
* Add bolt.Open().Ben Johnson2014-02-261-0/+15
Per the suggestion of @tv42 and @cespare, this commit adds a package level function to create and initialize a database at a given path. This is a common interface for database packages.