Skip to main content

resolve_relative_artifact_dir_runtime_local

Function resolve_relative_artifact_dir_runtime_local 

Source
pub fn resolve_relative_artifact_dir_runtime_local(
    build_dir: &Path,
    artifact_dir: &str,
) -> Option<String>
Expand description

Resolves an artifact directory relative to a build directory while preserving dist/apps.

§Parameters

§Returns

Returns Some when crate::config::resolve_relative_artifact_dir_runtime_local can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_core::config::resolve_relative_artifact_dir_runtime_local(std::path::Path::new("build/dev_docs"), std::path::Path::new("build/dev_docs"));
  • crate::config for adjacent helpers that share the same runtime surface.