Skip to content

Commit

Permalink
Merge pull request #4 from the8472/hardlink-support
Browse files Browse the repository at this point in the history
Hardlink support
  • Loading branch information
the8472 authored Dec 18, 2021
2 parents d1817ef + 87aaef7 commit d926ddd
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 68 deletions.
151 changes: 127 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "fastar"
version = "0.1.5"
version = "0.2.0"
authors = ["The8472"]
description = "Fast tar archive creation for HDDs"
keywords = ["linux", "cli", "tar", "archive"]
repository = "https://github.com/the8472/fastar"
readme = "README.md"
categories = ["command-line-utilities", "filesystem"]
license = "GPL-3.0"
edition = "2018"
edition = "2021"

include = [
"**/*.rs",
Expand All @@ -28,7 +28,9 @@ debug = false
clap = "2.20"
derive-error = "0.0.5"
nix = "0.20.0"
tar = "0.4.22"
tar = "0.4.38"
reapfrog = "0.2.0"
platter-walk = "0.1.3"

[dev-dependencies]
tempfile = "3.2.0"
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ Limitations compared to gnu tar:
* only archives regular files, not symlinks or empty directories
* xattrs are not included
* sparse files are zero-filled
* hardlinks are not encoded as such in the archive and instead stored multiple times (issue #3)


## Building

* indirect dependencies: libz, liblzo headers
* `cargo build --release`
* `cargo +nightly build --release --features system_alloc` for smaller binary size

## Benchmarks

Expand Down
Loading

0 comments on commit d926ddd

Please sign in to comment.