# introduce std.fs.Dir.openFile and std.fs.Dir.createFile · gitcafe/zig

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

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

Visibility: public

Requested revision: d039fed831cfc219821b58f1d819d79ad49dc652

Requested commit: d039fed831cfc219821b58f1d819d79ad49dc652

Commit: d039fed831cfc219821b58f1d819d79ad49dc652

Tree: 02874006e87e02473a3ad89c0259e55fa235b3c4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
introduce std.fs.Dir.openFile and std.fs.Dir.createFile

These functions have flags parameters which cover all the use cases. The
other functions are now deprecated.

```

## Parents

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

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