Skip to content
DervexDevPublic

About

Subtract one path from another, yielding the subtraction difference rather than relative path

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

pathsub

Subtract one path from another, yielding the subtraction difference rather than relative path, unlike pathdiff

Version badge Downloads badge License badge Docs badge

Example:

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")

About

Subtract one path from another, yielding the subtraction difference rather than relative path

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages