pub fn ensure_media_subtree(
app_root: &Path,
business_slug: &str,
) -> Option<String>Expand description
Ensures the managed media subtree exists below an app root.
§Parameters
app_root: Input consumed bycrate::runtime::dynamic::ensure_media_subtree.business_slug: Input consumed bycrate::runtime::dynamic::ensure_media_subtree.
§Returns
Returns Some when crate::runtime::dynamic::ensure_media_subtree can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::ensure_media_subtree(std::path::Path::new("apps/dev_docs"), "demo");§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.