Function sort_path_length::sort_path_length
source · pub fn sort_path_length(input: String, invert: bool) -> StringExpand description
It reads the input as lines and parses each one as a path and then sorts them out by the length of their path components. Pass invert as true to invert the order