systemprompt_models/paths/mod.rs
1//! Path vocabulary shared by every layer: well-known directory and file names
2//! and the [`PathResolution`] mode a profile selects.
3//!
4//! The filesystem projection of a profile (`AppPaths` and its parts) lives in
5//! `systemprompt_config::paths`; this module holds only data.
6//!
7//! Copyright (c) systemprompt.io — Business Source License 1.1.
8//! See <https://systemprompt.io> for licensing details.
9
10pub mod constants;
11
12pub use constants::{cloud_container, dir_names, file_names};
13
14/// How profile paths are resolved against the local filesystem. Derive the
15/// right mode for a profile with [`crate::profile::Profile::path_resolution`].
16#[derive(Debug, Clone, Copy, PartialEq, Eq)]
17pub enum PathResolution {
18 Canonicalize,
19 Lexical,
20}