# tar: find package root dir in pipeToFileSystem · gitcafe/zig

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

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

Visibility: public

Requested revision: b1e70edd907da91bc0863b541d04a15f2093f9a0

Requested commit: b1e70edd907da91bc0863b541d04a15f2093f9a0

Commit: b1e70edd907da91bc0863b541d04a15f2093f9a0

Tree: b7a4e4c126c1b5a09ce93dcf320cce6830205ff1

Author: Igor Anić

Committer: Igor Anić

## Message

```
tar: find package root dir in pipeToFileSystem

While iterating over all files in tarball set root_dir in diagnostic if
there is single root in tarball. Will be used in package manager with
strip_components = 0 to find the root of the fetched package.

```

## Parents

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

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