pub fn resolve_website_root(repo_root: &Path) -> Option<PathBuf>Expand description
Resolves the website root below a trusted repository root.
§Parameters
repo_root: Input consumed bycrate::binaries::resolve_website_root.
§Returns
Returns Some when crate::binaries::resolve_website_root can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::binaries::resolve_website_root.
§Examples
ⓘ
let _result = pharos_native::binaries::resolve_website_root(std::path::Path::new("."));§Related
crate::binariesfor adjacent helpers that share the same runtime surface.