Skip to main content

Module paths

Module paths 

Source
Expand description

Well-known directory layout helpers.

AppPaths resolves the system, web, build, and storage path trees from a profile’s crate::profile::PathsConfig. Submodules expose each tree plus shared directory/file-name constants. Resolution returns PathError.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Re-exports§

pub use constants::cloud_container;
pub use constants::dir_names;
pub use constants::file_names;

Modules§

constants
Well-known path, file-name, and directory-name constants.

Structs§

AppPaths
BuildPaths
StoragePaths
SystemPaths
WebPaths

Enums§

PathError
PathResolution
How profile paths are resolved against the local filesystem. Derive the right mode for a profile with crate::profile::Profile::path_resolution.