Function nix_compat::nix_http::parse_nar_str

source ยท
pub fn parse_nar_str(s: &str) -> Option<([u8; 32], &str)>
Expand description

Parses a 14cx20k6z4hq508kqi2lm79qfld5f9mf7kiafpqsjs3zlmycza0k.nar string and returns the nixbase32-decoded digest, as well as the compression suffix (which might be empty).