# fetch: implement recompression · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ee21a1f988f05a5d45bcb1724095c27cc2c7259b)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ee21a1f988f05a5d45bcb1724095c27cc2c7259b

Requested commit: ee21a1f988f05a5d45bcb1724095c27cc2c7259b

Commit: ee21a1f988f05a5d45bcb1724095c27cc2c7259b

Tree: e51dea9e94a045bac9ab2368f4c52a472872ffd9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fetch: implement recompression

After fetching a package and applying the filter by deleting files that
are not part of the hash, creates a recompressed $GLOBAL_CACHE/p/$PKG_HASH.tar.gz

Checking this cache before fetching network URLs is not yet implemented.

```

## Parents

- [df64a3a36815fce6cc8671d047e52795655b3b9b](https://git.cafe/gitcafe/zig/commit/df64a3a36815fce6cc8671d047e52795655b3b9b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ee21a1f988f05a5d45bcb1724095c27cc2c7259b?format=markdown)
