read_dir


Description:

public async void read_dir (int64 check_time, bool recurse = false) throws Error

Load children from filesystem for this folder. Handles async file enumeration, symlink resolution, and updates Folder.children. Excludes .git directories and other hidden/system folders.

Parameters:

check_time

Timestamp for this check operation (prevents re-checking during recursion)

recurse

Whether to recursively read subdirectories (default: false)

Exceptions:

Error

if directory cannot be read