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

Function docker_socket_available

crates/openshell-core/src/config.rs:202–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202fn docker_socket_available() -> bool {
203 docker_socket_candidates()
204 .iter()
205 .any(|path| is_unix_socket(path))
206}
207
208fn docker_socket_candidates() -> Vec<PathBuf> {
209 let mut candidates = Vec::new();

Callers 1

is_docker_availableFunction · 0.85

Calls 2

docker_socket_candidatesFunction · 0.85
is_unix_socketFunction · 0.85

Tested by

no test coverage detected