xch 0.2.0

A CLI utility and rust crate to atomically swap the content of two paths.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

error_chain!{
    foreign_links {
        Fs(::std::io::Error);
        Platform(::platform::PlatformError);
    }

    errors {
        UnsupportedOperation(t: String) {
            description("Unsupported operation")
            display("unsupported operation: {}", t)
        }

        NotImplemented {
            description("This feature is not yet implemented on your platform")
        }
    }
}