Skip to main content

Crate nixstore

Crate nixstore 

Source
Expand description

nixstore — read-only Nix store path-info from db.sqlite.

Re-exports§

pub use caps::MockPathInfoStore;
pub use caps::NixstoreEnv;
pub use caps::PathInfoStore;
pub use caps::PathInfoStoreKey;
pub use caps::SqlitePathInfoStore;
pub use caps::live_providers;
pub use caps::providers_for_store;
pub use commands::PathInfoFlags;
pub use commands::cmd_path_info;
pub use commands::resolve_store_root;
pub use db::DEFAULT_STORE_ROOT;
pub use db::db_path_for_store;
pub use db::open_db;
pub use db::open_store_db;
pub use db::query_path_info;
pub use error::InfraError;
pub use model::PathInfo;
pub use model::QueryOpts;
pub use model::db_hash_to_sri;
pub use model::human_bytes;

Modules§

caps
Capability keys and providers for nixstore DI 3.0.
commands
Effect programs for CLI commands.
db
Read-only SQLite access to Nix db.sqlite.
error
Error types for nixstore.
model
Path-info model and hash formatting (Nix path-info JSON v1 shape).

Enums§

Exit
Final outcome of an effect: either a success value or a structured failure Cause.