Skip to main content

Crate sysknife_core

Crate sysknife_core 

Source
Expand description

Shared defaults, low-level constants, and configuration loading for the SysKnife workspace.

Re-exports§

pub use distro::detect;
pub use distro::detect_distro;
pub use distro::parse_os_release;
pub use distro::DistroFamily;
pub use distro::DistroId;

Modules§

action_family
Canonical mapping of action names to the distro family they require.
config
~/.config/sysknife/config.toml — optional user configuration file.
distro
Distro detection — Phase 2a.

Constants§

PRODUCTION_DATABASE_PATH
Production SQLite path written by the systemd unit (sysknife-daemon.service).
PRODUCTION_LISTEN_URI
Production socket URI written by the systemd unit (sysknife-daemon.service).

Functions§

default_database_path
Resolve the daemon SQLite database path for the current process.
default_listen_uri
Resolve the daemon listen URI for the current process.