aboutsummaryrefslogtreecommitdiff
path: root/lib/std/priority_queue.zig
diff options
context:
space:
mode:
authorJonathan S <gereeter+code@gmail.com>2019-11-22 15:40:46 -0600
committerAndrew Kelley <andrew@ziglang.org>2019-11-25 23:46:47 -0500
commit17bc1f62a51ad5fc44dc97acf6ddb33e6d00b0c4 (patch)
tree23da0acda6763db992cb729110761c756d5fa0f2 /lib/std/priority_queue.zig
parentf96d818770fa8264b7b87e55ef7e01ff5df44c77 (diff)
downloadzig-17bc1f62a51ad5fc44dc97acf6ddb33e6d00b0c4.tar.gz
zig-17bc1f62a51ad5fc44dc97acf6ddb33e6d00b0c4.zip
Split `std.fs.Dir.openDir` into `openDirList` and `openDirTraverse` to clarify what directories can be iterated. Closes ziglang/zig#3741.
The Windows-inspired nomenclature of "List" and "Traverse" was chosen over POSIX-style "Read" and "Path" (from `O_PATH`) for clarity. Using "Path" makes it look like the function is manipulating strings, and the generic "Read" ending isn't useful when there is no generic read method. Even in implementation details, `read` is never used. Actual exploitation of the difference between the two functions will come in a later commit.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions