diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-03-18 14:45:01 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-03-18 16:10:57 -0400 |
| commit | 27affde592653ac7f92489cec404b4bf3e0d1b29 (patch) | |
| tree | d563a351e3cf7656471f50cd5112b790d2c6233e /lib/include/module.modulemap | |
| parent | c45fe2759fdb882efb4caf89a35136b8b205ee7c (diff) | |
| download | zig-27affde592653ac7f92489cec404b4bf3e0d1b29.tar.gz zig-27affde592653ac7f92489cec404b4bf3e0d1b29.zip | |
(breaking) clarify openDir API
* remove deprecated `std.fs.Dir` APIs
* `std.fs.Dir.openDir` now takes a options struct with bool fields for
`access_sub_paths` and `iterate`. It's now much more clear how
opening directories works.
* fixed the std lib and various zig code calling the wrong openDir
function.
* the runtime safety check for dir flags is removed in favor of the
cheaper option of putting a comment on the same line as handling
EBADF / ACCESS_DENIED, since that will show up in stack traces.
Diffstat (limited to 'lib/include/module.modulemap')
0 files changed, 0 insertions, 0 deletions
