# Alternative strategy to avoid calling stat\(\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 8b4f5f039df65980d0a0ec6add1caf4c9bf2468c

Requested commit: 8b4f5f039df65980d0a0ec6add1caf4c9bf2468c

Commit: 8b4f5f039df65980d0a0ec6add1caf4c9bf2468c

Tree: 100a497fee7a76a750100da7f23b190043530799

Author: LemonBoy

Committer: LemonBoy

## Message

```
Alternative strategy to avoid calling stat()

This is an optimization as it avoids an extra syscall, but it's also a
workaround for fstat being not available on Windows.

```

## Parents

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

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