coreutils/tests/common
Jeffrey Finkelstein 66ee373373 cp: preserve hard links when target already exists
Prevent a panic in `cp -a` when the target of a hard link already
exists in the target directory structure.

For example,

    $ mkdir -p src dest/src
    $ touch src/f dest/src/f
    $ ln src/f src/link
    $ cp -a src dest

The `cp` command now succeeds without error.
2022-12-02 23:50:18 -05:00
..
macros.rs pwd: Properly resolve logical working directory (#2604) 2021-08-28 22:31:20 +02:00
mod.rs tail: improve performance of piped stdin 2022-09-09 13:51:37 +02:00
random.rs chore: standardize creation of empty strings 2022-12-01 13:49:23 +01:00
util.rs cp: preserve hard links when target already exists 2022-12-02 23:50:18 -05:00