xch 0.1.1

A CLI utility and rust crate to atomically swap the content of two paths.
1
2
3
4
5
6
7
8
9
10
11
12

cfg_if! {
    if #[cfg(windows)] {
        mod windows;
        pub use self::windows::{xch, PlatformError};
    } else if #[cfg(all(target_os = "linux", feature = "nightly"))] {
        mod linux;
        pub use self::linux::{xch, PlatformError};
    } else {
        compile_error!("libxch not supported on this platform!");
    }
}