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

Function edge_token_path

crates/openshell-bootstrap/src/edge_token.rs:16–18  ·  view source on GitHub ↗

Path to the stored edge auth token for a gateway.

(gateway_name: &str)

Source from the content-addressed store, hash-verified

14
15/// Path to the stored edge auth token for a gateway.
16pub fn edge_token_path(gateway_name: &str) -> Result<PathBuf> {
17 Ok(user_gateway_dir(gateway_name)?.join("edge_token"))
18}
19
20/// Legacy path used before the rename to `edge_token`.
21fn legacy_token_path(gateway_name: &str) -> Result<PathBuf> {

Callers 6

store_edge_tokenFunction · 0.85
load_edge_tokenFunction · 0.85
remove_edge_tokenFunction · 0.85

Calls 1

user_gateway_dirFunction · 0.85