Lines Matching full:path
6 use std::{ffi::CString, fs::File, path::Path};
15 let _sentry = File::create(target.path().join("sentry")).unwrap();
21 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap())
22 .str_opt_owned("target", target.path().to_str().unwrap())
27 let exists = Path::exists(&mountpoint.path().join("sentry"));
30 unmount(mountpoint.path(), MntFlags::empty()).unwrap();
39 let _sentry = File::create(target.path().join("sentry")).unwrap();
42 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap())
43 .str_opt_owned("target", target.path().to_str().unwrap())