FileDirectoryCallback

Last Updated2026-07-30
Created At2026-07-30

Called when an asynchronous directory snapshot has been materialized. On success, listing contains a fully-materialized DirectoryListing and must be closed by the callback. It is independent of later filesystem changes. On failure, listing is null.

void (FileOpResult result, const char[] path, DirectoryListing listing, any data)

Parameters

Operation result.
const char[] path
Path supplied to the operation.
Materialized directory listing, or null on failure.
any data
User data supplied to the operation.

Return Value

void