Documentation
¶
Index ¶
- func Backup(db *bolt.DB, version *semver.Version) error
- func BackupFilename(dbPath string, version *semver.Version) string
- func CreateBucket(path []string) func(*bolt.DB, *bolt.DB) error
- func DeleteBucket(path []string) 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 []string) (*bolt.Bucket, error)
- func SetKey(tx *bolt.Tx, path []string, 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.