pub fn encode_filepath_segments(
segments: &[Vec<u8>],
mst: &mut DcMstring,
) -> Result<()>Expand description
Encodes raw filename segments as a typed filepath, retaining empty segments for leading, repeated, and trailing delimiters.
ยงErrors
Returns an error if the segment list is empty, a segment contains /, or
serialization fails. An empty path is represented by one empty segment.