# Cache: improvements to previous commit · gitcafe/zig

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

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

Visibility: public

Requested revision: 4da83feccb4b0e59afdcce9796b08cc4fc8346ae

Requested commit: 4da83feccb4b0e59afdcce9796b08cc4fc8346ae

Commit: 4da83feccb4b0e59afdcce9796b08cc4fc8346ae

Tree: 789f655f262a31da1495e7ce04735a45eed078ab

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Cache: improvements to previous commit

 * put `recent_problematic_timestamp` onto `Cache` so that it can be
   shared by multiple Manifest instances.
 * make `isProblematicTimestamp` return true on any filesystem error.
 * save 1 syscall by using truncate=true in createFile instead of
   calling `setEndPos`.

```

## Parents

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

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