Function create_path

Source
pub fn create_path(reference: &Reference) -> Result<PathBuf>
Expand description

Creates a filesystem path for a workflow reference.

Combines the current workspace path with the reference’s path structure to create the full filesystem path for a workflow file.

§Arguments

  • reference - The workflow reference

§Returns

  • Result<PathBuf> - The full path to the workflow file

§Examples

use aimx::workspace::create_path;
use aimx::expressions::Reference;
 
let reference = Reference::new("my_node");
let path = create_path(&reference)?;
println!("Workflow path: {:?}", path);