DirGetContents
Description
Read directory contents into a vector.
Parameters
| Name | Direction | Description |
|---|---|---|
path |
in | Path of directory. Prefer Str *; Zstr accepted for literals / borrowed buffers. |
alloc |
in | Allocator backing the returned vector + entry names (omit inside a Scope block to use MisraScope). |
Success
DirContents vector filled with directory contents data.
Failure
Returns empty vector on read error.
Usage example (Cross-references)
Last updated on