Implement asynchronous stat() on File class returning a new Stat object with device, inode, mode, linkCount, user, group, specialDevice, size, blockSize, and blockCount fields populated from libuv uv_fs_stat callback. Register foreign method statPath_ in module registry, bump MAX_METHODS_PER_CLASS to 10, add Stat class to io.wren with indexed field accessors, update documentation index with Stat page, and include test coverage for stat on existing file and nonexistent path.
9 lines
178 B
Markdown
9 lines
178 B
Markdown
^title Module "io"
|
|
|
|
Provides access to operating system streams and the file system.
|
|
|
|
* [Directory](directory.html)
|
|
* [File](file.html)
|
|
* [Stat](stat.html)
|
|
* [Stdin](stdin.html)
|