Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
99
impl 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()
Callers
15
walk_and_add
Function · 0.80
test_create_build_context_tar
Function · 0.80
test_dockerignore_excludes_files
Function · 0.80
test_dockerignore_negation
Function · 0.80
test_long_path_exceeding_100_bytes
Function · 0.80
list_gateways_with_source
Function · 0.80
save_and_load_last_sandbox_roundtrip
Function · 0.80
load_last_sandbox_returns_none_when_not_set
Function · 0.80
save_last_sandbox_overwrites_previous
Function · 0.80
save_last_sandbox_creates_parent_dirs
Function · 0.80
load_last_sandbox_ignores_whitespace
Function · 0.80
load_last_sandbox_returns_none_for_empty_file
Function · 0.80
Calls
1
pci_device
Method · 0.80
Tested by
15
test_create_build_context_tar
Function · 0.64
test_dockerignore_excludes_files
Function · 0.64
test_dockerignore_negation
Function · 0.64
test_long_path_exceeding_100_bytes
Function · 0.64
save_and_load_last_sandbox_roundtrip
Function · 0.64
load_last_sandbox_returns_none_when_not_set
Function · 0.64
save_last_sandbox_overwrites_previous
Function · 0.64
save_last_sandbox_creates_parent_dirs
Function · 0.64
load_last_sandbox_ignores_whitespace
Function · 0.64
load_last_sandbox_returns_none_for_empty_file
Function · 0.64
last_sandbox_is_per_gateway
Function · 0.64
system_gateway_last_sandbox_persists_in_user_config_without_shadowing
Function · 0.64