samevol 0.1.1

A lightweight Windows utility for determining if two paths reside on the same storage volume. 轻量级 Windows 工具库,用于检测两个路径是否位于同一存储卷。
Documentation
1
2
3
4
5
6
fn main() {
    // Check if the target OS is Windows, but allow docs.rs for building docs
    if !cfg!(target_os = "windows") && std::env::var("DOCS_RS").is_err() {
        panic!("This library only supports Windows.");
    }
}