# std.Io.Dir: fix walking · gitcafe/zig

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

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

Visibility: public

Requested revision: 94ef56ee26558daea3c7a1468f898c94735d1658

Requested commit: 94ef56ee26558daea3c7a1468f898c94735d1658

Commit: 94ef56ee26558daea3c7a1468f898c94735d1658

Tree: 86e22c258d78ca40fb09504493bc2daaff029d6e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Dir: fix walking

* Make Io.Dir.Reader lower level, accepting a buffer.
* Make Io.Dir.Iterator higher level, requesting only one Entry with
  every call to `next`.

```

## Parents

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

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