Skip to main content

parse_pod_npub

Function parse_pod_npub 

Source
pub fn parse_pod_npub(pod_npub: &str) -> Option<u32>
Expand description

Parse a pod identifier emitted by the spawn handler back into the internal vmid. Accepts both container-<vmid> (the format AccessDetailsContent returns to the consumer) and a bare numeric id (for callers that already know it).