# std.Build.Cache.Path: fix the format method · gitcafe/zig

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

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

Visibility: public

Requested revision: fd4d366009e92c79137ee681334f216bbfc9b5f5

Requested commit: fd4d366009e92c79137ee681334f216bbfc9b5f5

Commit: fd4d366009e92c79137ee681334f216bbfc9b5f5

Tree: 1a7c0c600fda53da7de622cca807f61626e7f330

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Build.Cache.Path: fix the format method

This function previously wrote a trailing directory separator, but
that's not correct if the path refers to a file.

```

## Parents

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

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