package
0.4.5
Repository: https://github.com/bobg/bs.git
Documentation: pkg.go.dev

# Functions

ListFromRefs creates a new list whose members are the given refs, and stores the resulting list in s.
LoadList loads the List at ref from g.
LoadMap loads the map at the given ref.
LoadSet loads the set at the given ref.
MapFromGo creates a Map from a Go map[string][]byte.
NewMap produces a new, blank map, not yet written to a blob store.
NewSet produces a new, empty Set, not yet written to a blob store.
ProtectList returns a gc.ProtectFunc that protects the list and its member refs from garbage collection.
ProtectMap returns a gc.ProtectFunc that protects the nodes of a Map and any refs they contain.
ProtectSet returns a gc.ProtectFunc that protects the nodes of a Set and the refs they contain.
SetFromRefs creates a Set from a slice of bs.Ref.

# Constants

OAdded means a key was not present, and was added.
ONone means no change was needed.
OUpdated means a key was present but its payload was changed.

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Set is a set of refs, represented as a tree.
No description provided by the author
No description provided by the author

# Type aliases

Outcome is the outcome of a Map.Set operation.