aboutsummaryrefslogtreecommitdiff
path: root/bolt_darwin.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rework build to support more liberal unix variants.Dave Collins2014-09-181-12/+0
| | | | | | | | | | | Rather than having the build setup such that it will only work on the specifically defined operating systems, this commit modifies it to use more liberal !windows,!plan9 build tag for the unix specific bits. This means bolt will compile on more Operating Systems such as OpenBSD, FreeBSD, and NetBSD. See boltdb/bolt#257 for discussion.
* Add Open() options, flock timeout.Ben Johnson2014-06-211-41/+0
| | | | | | | | This commit changes Open() to provide an additional Options argument. The options argument currently only has a Timeout which will cause the Open() to return ErrTimeout if a file lock cannot be obtained in time. Fixes #207.
* Add Windows support.Ben Johnson2014-06-121-6/+26
| | | | | This commit adds Windows support to Bolt. Windows memory maps return an address instead of a byte slice so the DB.data field had to be refactored to be a pointer to a large byte array.
* Add Windows support.Ben Johnson2014-06-111-0/+33