# fetch: remove one openDir in runResource · gitcafe/zig

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

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

Visibility: public

Requested revision: 1431e34cb9e3af8d4437ca2e5f91b6da53be5a47

Requested commit: 1431e34cb9e3af8d4437ca2e5f91b6da53be5a47

Commit: 1431e34cb9e3af8d4437ca2e5f91b6da53be5a47

Tree: 601886cfe7f071e96c7e737ab466deae5b2bbb8e

Author: Igor Anić

Committer: Igor Anić

## Message

```
fetch: remove one openDir in runResource

Based on comment:
https://github.com/ziglang/zig/pull/19111#discussion_r1548640939

computeHash finds all files in temporary directory. There is no
difference on what path are they. When calculating hash normalized_path
must be set relative to package root. That's the place where we strip
root if needed.

```

## Parents

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

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