pub fn relative_dir(entry: &FileEntry, base: &str) -> String
entry’s own directory relative to base; “” when it sits directly in it. Always uses / separators — callers targeting the host filesystem convert.
entry
base
/