# Implement std.fs.Dir.openFileWasi · gitcafe/zig

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

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

Visibility: public

Requested revision: 8e1cd69717e8d87f53e930bd87edb7ca701b3f0c

Requested commit: 8e1cd69717e8d87f53e930bd87edb7ca701b3f0c

Commit: 8e1cd69717e8d87f53e930bd87edb7ca701b3f0c

Tree: 06ca1215459b2a72d98a54f61b5a5884c992f464

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Implement std.fs.Dir.openFileWasi

It seems that `std.os.openZ` is too POSIX-specific, so I think it
should not be a point of entry for WASI `open` call. I figure
WASI should be treated as a separate "os" that's _not_ POSIX
especially given the incoming changes in the ephemeral snapshot.

```

## Parents

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

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