{ "name": "xcp", "version": "0.24.8", "summary": "xcp: copies files and folders like cp, with progress, parallel copies and reflinks where the file system has them (Rust)", "category": "tool", "license": "GPL-3.0-only", "homepage": "https://github.com/tarka/xcp", "source": { "url": "https://github.com/tarka/xcp/archive/refs/tags/xcp-v0.24.8.tar.gz", "sha256": "6bb62f8d9421209f1d0b6233c882bd959003042cf6f23ce255a62354b0890f8f" }, "watch": {"kind": "github-release", "repo": "tarka/xcp", "tag_regex": "^xcp-v([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": false, "check": "bin/xcp --version | has -x 'xcp 0.24.8' && t=$(mktemp -d) && mkdir -p \"$t/src/sub\" \"$t/src/.git\" && echo 'bvs one' > \"$t/src/a.txt\" && head -c 3000000 /dev/urandom > \"$t/src/sub/big.bin\" && printf 'skip.log\\n' > \"$t/src/.gitignore\" && echo log > \"$t/src/skip.log\" && bin/xcp -r --no-progress \"$t/src\" \"$t/dst\" && diff -r \"$t/src\" \"$t/dst\" && bin/xcp -r --no-progress --gitignore \"$t/src\" \"$t/dst2\" && [ -f \"$t/dst2/a.txt\" ] && [ ! -e \"$t/dst2/skip.log\" ] && echo x > \"$t/keep\" && ! bin/xcp -n --no-progress \"$t/src/a.txt\" \"$t/keep\" > \"$t/err\" 2>&1 && [ \"$(cat \"$t/keep\")\" = x ] && bin/xcp --no-progress -w 4 --driver parblock \"$t/src/sub/big.bin\" \"$t/big2\" && cmp \"$t/src/sub/big.bin\" \"$t/big2\" && echo 'xcp 0.24.8: a tree copied unchanged, again without what .gitignore names, an existing file kept with -n, a 3 MB file copied by 4 workers in blocks'" }