# std.fs.File.Reader.getSize: check file kind on stat · gitcafe/zig

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

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

Visibility: public

Requested revision: b9a6dae2ae68d74d7f2fc2bfe394eb506fb7ca69

Requested commit: b9a6dae2ae68d74d7f2fc2bfe394eb506fb7ca69

Commit: b9a6dae2ae68d74d7f2fc2bfe394eb506fb7ca69

Tree: f9e29379e311211d8a6ae70a6f967cc8e1d563b1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.fs.File.Reader.getSize: check file kind on stat

closes #24794

```

## Parents

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

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