zig/lib/std/fs
Jakub Konka 66e5205047 Refactor PreopenList.find()
This commit generalizes `std.fs.wasi.PreopenList.find(...)` allowing
search by `std.fs.wasi.PreopenType` union type rather than by dir
name. In the future releases of WASI, it is expected to have more
preopen types (or capabilities) than just directories. This commit
aligns itself with that vision.

This is a potentially breaking change. However, since `std.fs.wasi.PreopenList`
wasn't made part of any Zig release yet, I think we should be OK
to introduce those changes without pointing to any deprecations.
2020-06-23 21:54:36 +02:00
..
file.zig Add std.fs.File.readAllAlloc tests 2020-06-22 20:03:21 -04:00
get_app_data_dir.zig Add/fix missing WASI functionality to pass libstd tests 2020-05-18 16:09:49 +02:00
path.zig fix memory errors 2020-06-09 00:17:22 -04:00
test.zig Add std.fs.File.readAllAlloc tests 2020-06-22 20:03:21 -04:00
wasi.zig Refactor PreopenList.find() 2020-06-23 21:54:36 +02:00
watch.zig std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00