# Introduce IterableDir.iterateAssumeFirstIteration · gitcafe/zig

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

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

Visibility: public

Requested revision: 5059384b570a4cb554215c8091ff00d77a0ebadf

Requested commit: 5059384b570a4cb554215c8091ff00d77a0ebadf

Commit: 5059384b570a4cb554215c8091ff00d77a0ebadf

Tree: 5a8c255057529535530a9921c882f028cf3dd420

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Introduce IterableDir.iterateAssumeFirstIteration

This allows for avoiding an unnecessary lseek (or equivalent) call in places where it can be known that the fd has not had its cursor modified yet.

```

## Parents

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

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