package
0.0.0-20241001140320-1cfc79ecf30e
Repository: https://github.com/nix-community/go-nix.git
Documentation: pkg.go.dev

# Functions

NewBadgerMemoryStore opens a store that entirely resides in memory.
NewBadgerStore opens a store that stores its data in the path specified by path.
NewFromURI returns a derivation.Store by consuming a URI: - if no scheme is specified, FSStore is assumed - file:// also uses FSStore.
NewFSStore returns a store exposing all `.drv` files in the directory specified by storageDir.
NewHTTPStore returns a HTTPStore with a given base URL.
No description provided by the author

# Structs

BadgerStore stores data using badger.
FSStore provides a derivation.Store interface, that exposes all .drv files in a given folder.
HTTPStore provides a store exposing all .drv files directly hosted below the a HTTP path specified by baseURL aka ${baseURl}/${base derivationPath}.
MapStore provides a simple implementation of derivation.Store, that's just a hashmap mapping drv paths to Derivation objects.