Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ as_slice
Method
as_slice
crates/openshell-core/src/gpu.rs:88–90 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
86
87
#[must_use]
88
pub fn as_slice(&self) -> &[String] {
89
&self.device_ids
90
}
91
92
#[must_use]
93
pub fn is_empty(&self) -> bool {
Callers
15
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_refresh_states_for_provider
Function · 0.80
list_all_refresh_states
Function · 0.80
configured_compute_driver
Function · 0.80
reap_expired_sessions
Function · 0.80
policy_payload_from_record
Function · 0.80
draft_chunk_payload_from_record
Function · 0.80
normalize_compute_driver_socket_args
Function · 0.80
effective_single_driver
Function · 0.80
Calls
no outgoing calls
Tested by
8
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
extract_first_tar_entry_returns_payload_of_single_file_archive
Function · 0.64
sandbox_container_id
Function · 0.64
read_vm_bootstrap_token
Function · 0.64
sandbox_container_id
Function · 0.64