Skip to main content

Module paths

Module paths 

Source
Expand description

Platform path resolution for relay-knowledge runtime state.

The module owns all default and override rules for config, data, state, cache, log, temp, runtime, and service directories. It never reads the process environment directly; callers pass the typed environment snapshot produced by env.

Re-exports§

pub use crate::project::APP_DIR_NAME;

Structs§

PathError
Path resolution or validation error.
RuntimePaths
Resolved runtime directories used by CLI, Web, services, and future workers.

Enums§

PathErrorKind
Detailed path error category.
PathPurpose
Directory category attached to path validation failures.
RepositoryRootDiscoveryError
Error raised before repository-root discovery can walk ancestors.

Functions§

default_user_document_roots
Returns conservative user document roots for local file indexing.
discover_repository_root
Finds the repository root that owns repository-local knowledge contracts.
windows_tasklist_command
Resolves the Windows process-list executable from typed platform inputs.