Documentation
¶
Overview ¶
Package statefile bounds state reads before JSON decoding, including files that grow after they are opened. All file-backed stores use it
Index ¶
Constants ¶
View Source
const MaximumBytes = 8 << 20
Variables ¶
View Source
var ErrTooLarge = errors.New("state exceeds 8 MiB")
Functions ¶
func RecoveryRequired ¶
func RecoveryRequired() error
Describe the explicit recovery required for invalid saved state
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.