# Add depth function to \`Walker.Entry\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 894a99171491c9b054ae93b10ca3dc6fa6d8c125

Requested commit: 894a99171491c9b054ae93b10ca3dc6fa6d8c125

Commit: 894a99171491c9b054ae93b10ca3dc6fa6d8c125

Tree: 7f6c87c201d7f96d8d9d7800f53c6e78a5d050aa

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Add depth function to `Walker.Entry`

This enables depth-related use cases without any dependency on the Walker's internal stack which doesn't always pertain to the actual depth of the current entry (i.e. recursing into a directory immediately affects the stack).

```

## Parents

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

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