Skip to main content

nova_rt_fs_read_dir

Function nova_rt_fs_read_dir 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nova_rt_fs_read_dir( path: *const NovaStr, ) -> i64
Expand description

List path’s entry names, sorted. On OK the names are waiting in nova_rt_fs_take_string_array.

Sorted in the runtime deliberately. Directory order is unspecified by every OS, so unsorted output would make each fixture platform-dependent.

§Safety

path must point to a live NovaStr.