# fetch: use empty string instead of null for root_dir · gitcafe/zig

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

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

Visibility: public

Requested revision: 3d5a9237f7984a37f6aa086bd2b0783305f644e5

Requested commit: 3d5a9237f7984a37f6aa086bd2b0783305f644e5

Commit: 3d5a9237f7984a37f6aa086bd2b0783305f644e5

Tree: 88b986ada709557757583374c563ce48ebe0fcce

Author: Igor Anić

Committer: Igor Anić

## Message

```
fetch: use empty string instead of null for root_dir

Make it consistent with Cache.Path sub_path.
Remove null check in many locations.

```

## Parents

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

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