1use pathx::is_subpath;
2use std::path::Path;
34fn main() {
5// Check if a path is a subpath of another
6let base = Path::new("/home/user/project");
7let child = Path::new("/home/user/project/src/main.rs");
8println!("Is subpath: {}", is_subpath(base, child));
9}