Documentation
¶
Index ¶
- type Entry
- type Lockfile
- func (l *Lockfile) Delete(namespace, operation string, inputs []any) bool
- func (l *Lockfile) Entries() []Entry
- func (l *Lockfile) Get(namespace, operation string, inputs []any) (any, string, bool)
- func (l *Lockfile) Marshal() ([]byte, error)
- func (l *Lockfile) Set(namespace, operation string, inputs []any, value any, policy string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lockfile ¶
type Lockfile struct {
// contains filtered or unexported fields
}
Lockfile stores lock entries keyed by (namespace, operation, inputs).
func Parse ¶
Parse decodes lockfile JSON lines.
Non-empty files must start with a version header line: [["version","1"]].
Click to show internal directories.
Click to hide internal directories.