16 lines
997 B
Rust
16 lines
997 B
Rust
//! Shared filename constants for in-container filesystem paths. Harness
|
|
//! *directory* resolution itself lives in `hive_agent_sock::paths`
|
|
//! (every in-container producer already depends on that crate for the
|
|
//! socket wire types) — this module only keeps the bits that also need
|
|
//! to be reachable from the host side (`hive-c0re`).
|
|
|
|
/// File name of the pause marker inside the harness dir. Re-exported from
|
|
/// `hive-priv-sock`, which owns the definition because hive-priv (root) is
|
|
/// the component that actually creates and unlinks the marker — hive-c0re
|
|
/// runs unprivileged and cannot write to the agent-owned harness dir — and
|
|
/// hive-priv deliberately does not depend on this crate. Shared so
|
|
/// hive-agent's in-container resolver (`hive_agent::paths::paused_marker`),
|
|
/// hive-c0re's host-side one (which builds the same path from
|
|
/// `/var/lib/hyperhive/agents/{name}/harness`) and the privileged writer
|
|
/// cannot drift apart.
|
|
pub use hive_priv_sock::PAUSED_MARKER_FILE;
|