forky_fs 0.2.0

Rust Utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[macro_export]
macro_rules! file_abs {
	() => {
		std::path::Path::new(env!("CARGO_MANIFEST_DIR").join(file!()))
	};
}

#[macro_export]
macro_rules! file_abs_workspace {
	() => {
		std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join(
			forky_core::PathBufExt::pop_first_two_path_components(file!()),
		)
	};
}