Documentation ¶
Index ¶
- func Backup(db *bolt.DB, version *semver.Version) error
- func BackupFilename(dbPath string, version *semver.Version) string
- func CreateBucket(path bdb.Path) func(*bolt.DB, *bolt.DB) error
- func DeleteBucket(path bdb.Path) func(*bolt.DB, *bolt.DB) error
- func EnsureBaseVersion(_, rwDB *bolt.DB) error
- func GetVersion(db *bolt.DB) (*semver.Version, error)
- func OpenReadOnlyDB(dbPath string, version *semver.Version) (*bolt.DB, error)
- func SetBucket(tx *bolt.Tx, path bdb.Path) (*bolt.Bucket, error)
- func SetKey(tx *bolt.Tx, path bdb.Path, key, value []byte) error
- func SetVersion(db *bolt.DB, version *semver.Version) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBaseVersion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.