Subtract one path from another, yielding the subtraction difference rather than relative path, unlike pathdiff
use pathsub::sub_paths;
use std::path::Path;
let a = Path::new("foo/bar");
let b = Path::new("foo");
sub_paths(a, b); // Some("bar")Subtract one path from another, yielding the subtraction difference rather than relative path, unlike pathdiff
use pathsub::sub_paths;
use std::path::Path;
let a = Path::new("foo/bar");
let b = Path::new("foo");
sub_paths(a, b); // Some("bar")