Scandir (scandir v0.1.0)
Copy MarkdownIncremental, non-recursive directory enumeration with raw binary names.
Summary
Types
Functions
Closes a cursor. Closing an already closed cursor succeeds.
@spec max_batch() :: 128
The largest accepted visit budget for next/2.
@spec next(cursor(), pos_integer()) :: {:ok, [{binary(), kind()}], :more | :eof} | {:error, reason()}
Visits up to max_visited entries, including skipped . and ...
Opens a directory by its non-empty, NUL-free OS path. Start :scandir first.