# Rename Dir.writeFile2 \-\> Dir.writeFile and update all callsites · gitcafe/zig

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

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

Visibility: public

Requested revision: b86c4bde64b2c0d01e4d582798ac1b84dd50b99b

Requested commit: b86c4bde64b2c0d01e4d582798ac1b84dd50b99b

Commit: b86c4bde64b2c0d01e4d582798ac1b84dd50b99b

Tree: 1e58edebb2bac2b4a7bee4e5d663ea5cb0cbf248

Author: Ryan Liptak

Committer: Andrew Kelley

## Message

```
Rename Dir.writeFile2 -> Dir.writeFile and update all callsites

writeFile was deprecated in favor of writeFile2 in f645022d16361865e24582d28f1e62312fbc73bb. This commit renames writeFile2 to writeFile and makes writeFile2 a compile error.

```

## Parents

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

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