pub fn content_hash(text: &str) -> StringExpand description
A stable sentinel over an arbitrary generated text artefact.
Used for playlists, whose .m3u8 body is generated rather than fetched: the
hash is taken over the full rendered text, so the playlist name, the member
order, and every member’s relative path, title, and duration all feed it, and
any change that reaches the file triggers a rewrite. The render is
deterministic, so the hash is stable across runs and platforms.