fn ended(pieces: &[Piece], fs: bool) -> Vec<Option<Piece>>
A template’s pieces, ended as a place ends: a file path with / (a directory overlaps the files in it), any other string with an end marker (it overlaps only itself).
/