MCPcopy Create free account
hub / github.com/delinoio/oss / linked_runtime

Function linked_runtime

crates/nodeup/src/command_plan.rs:774–783  ·  view source on GitHub ↗
(runtime_dir: &Path, name: &str)

Source from the content-addressed store, hash-verified

772 }
773
774 fn linked_runtime(runtime_dir: &Path, name: &str) -> ResolvedRuntime {
775 ResolvedRuntime {
776 source: RuntimeSelectorSource::Explicit,
777 selector: RuntimeSelector::LinkedName(name.to_string()),
778 target: ResolvedRuntimeTarget::LinkedPath {
779 name: name.to_string(),
780 path: runtime_dir.to_path_buf(),
781 },
782 }
783 }
784
785 fn os_args(values: &[&str]) -> Vec<OsString> {
786 values.iter().map(OsString::from).collect()

Calls

no outgoing calls