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

Method driver_override

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

Source from the content-addressed store, hash-verified

136 }
137
138 pub(crate) fn driver_override(&self) -> Result<String, VfioError> {
139 self.read_trimmed("driver_override")
140 }
141
142 pub(crate) fn clear_driver_override(&self) -> Result<(), VfioError> {
143 write_sysfs(&self.driver_override_path(), "\n")

Callers 1

reconcile_stale_bindingsFunction · 0.80

Calls 1

read_trimmedMethod · 0.80

Tested by

no test coverage detected