MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / profile_extension_supported

Function profile_extension_supported

crates/openshell-cli/src/run.rs:5491–5496  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

5489}
5490
5491fn profile_extension_supported(path: &Path) -> bool {
5492 matches!(
5493 path.extension().and_then(|ext| ext.to_str()),
5494 Some("yaml" | "yml" | "json")
5495 )
5496}
5497
5498fn load_profile_import_item(
5499 path: &Path,

Callers 1

profile_source_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected