wchang22 / LuminS

A fast and reliable alternative to rsync for synchronizing local files written in Rust
MIT License
361 stars 17 forks source link

Windows compability planned? #18

Closed ghost closed 5 years ago

ghost commented 5 years ago

Currently this does not compile on Windows 10. Checked current master an v0.3.0. On linux lms compiles just fine.

This would be great to sync files between my linux laptops and my windows gaming rig.

error[E0046]: not all trait items implemented, missing: `copy`
   --> src\lumins\file_ops.rs:101:1
    |
25  |     fn copy(&self, src: &PathBuf, dest: &PathBuf);
    |     ---------------------------------------------- `copy` from trait
...
101 | impl FileOps for Symlink {
    | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `copy` in implementation

error: aborting due to previous error

For more information about this error, try `rustc --explain E0046`.
error: Could not compile `lms`.

To learn more, run the command again with --verbose
dblugeon commented 5 years ago

I create this pr #20 which resolve this problem.