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

Function compute_driver_socket_path

crates/openshell-server/src/compute/vm.rs:255–260  ·  view source on GitHub ↗

Path of the Unix domain socket the driver will listen on.

(vm_config: &VmComputeConfig)

Source from the content-addressed store, hash-verified

253
254/// Path of the Unix domain socket the driver will listen on.
255pub fn compute_driver_socket_path(vm_config: &VmComputeConfig) -> PathBuf {
256 vm_config
257 .state_dir
258 .join(COMPUTE_DRIVER_SOCKET_RUN_DIR)
259 .join(COMPUTE_DRIVER_SOCKET_NAME)
260}
261
262#[cfg(unix)]
263fn prepare_compute_driver_socket_path(

Calls

no outgoing calls