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

# Functions

Protect adds a given Ref, and all Refs reachable from it, to a Keep.
Run runs a garbage collection on store, deleting all refs not protected by k.

# Structs

ProtectPair is the type of an item returned by a ProtectFunc.
Store is a DeleterStore that delegates calls to a nested DeleterStore and can count refs and deletions during a call to Run.

# Interfaces

Keep is a set of refs to protect from garbage collection.

# Type aliases

ProtectFunc is the type of the callback passed to Protect.