Skip to main content

declarative_source_framework_path

Function declarative_source_framework_path 

Source
pub fn declarative_source_framework_path(
    artifact_dir: &Path,
    file_name: &str,
) -> Option<PathBuf>
Expand description

Builds a safe path to one framework-owned contract file.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_framework_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_framework_path(std::path::Path::new("build/dev_docs"), todo!());