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

Function bind_mount_source_path

e2e/rust/tests/driver_config_volume.rs:432–438  ·  view source on GitHub ↗
(driver: &str, path: &Path)

Source from the content-addressed store, hash-verified

430}
431
432fn bind_mount_source_path(driver: &str, path: &Path) -> PathBuf {
433 if driver == "docker" {
434 github_actions_host_work_path(path).unwrap_or_else(|| path.to_path_buf())
435 } else {
436 path.to_path_buf()
437 }
438}
439
440fn github_actions_host_work_path(path: &Path) -> Option<PathBuf> {
441 if std::env::var("GITHUB_ACTIONS").ok().as_deref() != Some("true") {

Calls 1

Tested by

no test coverage detected