pub fn is_safe_tree_path(path: &str) -> boolExpand description
Whether a path is one that a tree may hold, and so one that writing a tree may write:
relative, with / between its folders, in composed form, at most 4,096 bytes, with no
empty name, no . or .., no backslash, which Windows reads as a separator, no zero
byte, and no name that any system reads as .git or .nib, the folders of Git and of
the library.