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

Method new

crates/openshell-vfio/src/sysfs.rs:29–31  ·  view source on GitHub ↗

Custom root for testing.

(base: impl Into<PathBuf>)

Source from the content-addressed store, hash-verified

27
28 /// Custom root for testing.
29 pub fn new(base: impl Into<PathBuf>) -> Self {
30 Self { base: base.into() }
31 }
32
33 #[cfg(test)]
34 pub(crate) fn base(&self) -> &Path {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected