# std.tar: add writer \(\#19603\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 72bcc3b7a52a8ce7a582ed205325f761da72a6a5

Requested commit: 72bcc3b7a52a8ce7a582ed205325f761da72a6a5

Commit: 72bcc3b7a52a8ce7a582ed205325f761da72a6a5

Tree: c28796fb8db1093c10f3b27ca8b0980c6103308b

Author: Igor Anić

Committer: GitHub

## Message

```
std.tar: add writer (#19603)

Simplifies code in docs creation where we used `std.tar.output.Header`.
Writer uses that Header internally and provides higher level interface.
Updates checksum on write, handles long file names, allows setting mtime and file permission mode. Provides handy interface for passing `Dir.WalkerEntry`.
```

## Parents

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

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