Module nix_http

Source

Constants§

MIME_TYPE_CACHE_INFO
The mime type used for the nix-cache-info file
MIME_TYPE_NAR
The mime type used for NAR files, both compressed and uncompressed
MIME_TYPE_NARINFO
The mime type used for NARInfo files

Functions§

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