# std.fs.Dir.statFile: use fstatat · gitcafe/zig

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

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

Visibility: public

Requested revision: f65cdef7c8bfe7a47e1c30cfa3903ca2d53495cf

Requested commit: f65cdef7c8bfe7a47e1c30cfa3903ca2d53495cf

Commit: f65cdef7c8bfe7a47e1c30cfa3903ca2d53495cf

Tree: 0978f79f6f7a6c0aa6324f9d582a9587f0631480

Author: Philippe Pittoli

Committer: Andrew Kelley

## Message

```
std.fs.Dir.statFile: use fstatat

This avoids extra syscalls.

```

## Parents

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

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