# tar: refactor code to be more testable · gitcafe/zig

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

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

Visibility: public

Requested revision: ff8544daa59fa27b1e5c90e5ccdb6c513d719d47

Requested commit: ff8544daa59fa27b1e5c90e5ccdb6c513d719d47

Commit: ff8544daa59fa27b1e5c90e5ccdb6c513d719d47

Tree: 4a9abd555a4000149c775516504d50882b8a5204

Author: Igor Anić

Committer: Andrew Kelley

## Message

```
tar: refactor code to be more testable

Split reading/parsing tar file and writing results to the disk in two
separate steps. So we can later test parsing part without need to write
everyting to the disk.

```

## Parents

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

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