Skip to main content

encode_path

Function encode_path 

Source
pub fn encode_path<'a>(segments: impl IntoIterator<Item = &'a str>) -> Vec<u8> ⓘ
Expand description

Encodes a document name (or any slash-separated resource path) so that byte order equals __name__ order. Collection-group scans use the same encoding: documents in a group sort by their full path.