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

Method path

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

Source from the content-addressed store, hash-verified

98
99impl SysfsPciDevice<'_> {
100 pub(crate) fn path(&self) -> PathBuf {
101 self.sysfs.pci_device(self.bdf)
102 }
103
104 pub(crate) fn exists(&self) -> bool {
105 self.path().exists()

Calls 1

pci_deviceMethod · 0.80