# std: Minor changes to the fs module · gitcafe/zig

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

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

Visibility: public

Requested revision: 90743881cf10c4f90da4a8c187997e9eab4d17d5

Requested commit: 90743881cf10c4f90da4a8c187997e9eab4d17d5

Commit: 90743881cf10c4f90da4a8c187997e9eab4d17d5

Tree: 18aa129e10ce74b673b58e8766cec8dbae99d1bc

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Minor changes to the fs module

* Add a size_hint parameter to the read{toEnd,File}AllocOptions fns
* Rename readAllAlloc{,Options} to readToEndAlloc{,Options} as they
  don't rewind the file before reading
* Fix missing rewind in test case

```

## Parents

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

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