# rework zig fmt to avoid unnecessary realpath\(\) calls · gitcafe/zig

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

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

Visibility: public

Requested revision: 0a9672fb86b84658f8780f57e769be45e41f3034

Requested commit: 0a9672fb86b84658f8780f57e769be45e41f3034

Commit: 0a9672fb86b84658f8780f57e769be45e41f3034

Tree: 32a49700828436b19b56e1502b81c8d795ec63a1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
rework zig fmt to avoid unnecessary realpath() calls

 * add `std.fs.Dir.stat`
 * zig fmt checks for sym link loops using inodes instead of using
   realpath

```

## Parents

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

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