Skip to content

Commit

Permalink
Merge pull request #1066 from Matt8898/master
Browse files Browse the repository at this point in the history
cp: add support for --attributes-only and setting timestamps, links and xattrs
  • Loading branch information
Arcterus committed Oct 1, 2017
2 parents ac6c8e2 + e33de23 commit ab25919
Show file tree
Hide file tree
Showing 2 changed files with 204 additions and 55 deletions.
8 changes: 8 additions & 0 deletions src/cp/Cargo.toml
Expand Up @@ -17,10 +17,18 @@ walkdir = "1.0.7"
clap = "2.20.0"
quick-error = "1.1.0"
uucore = { path="../uucore" }
filetime = "0.1"

[target.'cfg(target_os = "linux")'.dependencies]
ioctl-sys = "0.5.2"

[target.'cfg(target_os = "windows")'.dependencies]
kernel32-sys = "*"
winapi = "*"

[target.'cfg(unix)'.dependencies]
xattr="0.2.1"

[[bin]]
name = "cp"
path = "main.rs"

0 comments on commit ab25919

Please sign in to comment.