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

Method base

crates/openshell-vfio/src/sysfs.rs:34–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

32
33 #[cfg(test)]
34 pub(crate) fn base(&self) -> &Path {
35 &self.base
36 }
37
38 pub fn pci_devices_dir(&self) -> PathBuf {
39 self.base.join("bus/pci/devices")

Callers 1

set_mock_driverFunction · 0.45

Calls

no outgoing calls

Tested by 1

set_mock_driverFunction · 0.36