# Return an index from \`CacheHash.addFile\` · gitcafe/zig

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

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

Visibility: public

Requested revision: f13c67bcfed1c509abd13e83ae36479b793583d2

Requested commit: f13c67bcfed1c509abd13e83ae36479b793583d2

Commit: f13c67bcfed1c509abd13e83ae36479b793583d2

Tree: b0255c670a2191bfe313092aa7c2617adc8af73a

Author: LeRoyce Pearson

Committer: Andrew Kelley

## Message

```
Return an index from `CacheHash.addFile`

This makes it possible for the user to retrieve the contents of the
file without running into data races.

```

## Parents

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

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