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

Method vendor

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

Source from the content-addressed store, hash-verified

114 }
115
116 pub(crate) fn vendor(&self) -> Result<String, VfioError> {
117 self.read_trimmed("vendor")
118 }
119
120 pub(crate) fn device_id(&self) -> Result<String, VfioError> {
121 self.read_trimmed("device")

Callers 3

vfio_id_stringMethod · 0.80

Calls 1

read_trimmedMethod · 0.80

Tested by

no test coverage detected