//
pkg.gl
Category
github.com/grailbio/base
state
package
0.0.11
Repository:
https://github.com/grailbio/base.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
3
Files
93 SLOC
#
Functions
Marshal
Marshal opens a State, marshals v into it, and then closes it.
Open
New creates and returns a new State at the given prefix.
Unmarshal
Unmarshal opens a State, unmarshals it into v, and then closes it.
#
Variables
ErrNoState
ErrNoState is returned when attempting to read a nonexistent state.
#
Structs
File
File implements file-based state management with support for advisory locking.