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

Method pci_devices_dir

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

Source from the content-addressed store, hash-verified

36 }
37
38 pub fn pci_devices_dir(&self) -> PathBuf {
39 self.base.join("bus/pci/devices")
40 }
41
42 pub fn pci_device(&self, bdf: &str) -> PathBuf {
43 self.pci_devices_dir().join(bdf)

Callers 3

pci_deviceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected