Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DBFileName = "state.sqlite"
DBFileName - Name of SQLite database representing state in the state directory
View Source
var ErrStateDirectoryAlreadyExists = errors.New("The given state directory already exists")
ErrStateDirectoryAlreadyExists - Error returned by Init if a filesystem object already exists at the desired state directory path
Functions ¶
func Init ¶
Init initializes a fresh state directory at the given path. If an object already exists at the given path on the filesystem, or if Init encounters any issues in creating a directory at that path (for example if the process it runs in does hot have sufficient permissions), this function returns a non-nil error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.