Skip to main content

nova_rt_fs_exists

Function nova_rt_fs_exists 

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

Whether path exists. Cannot distinguish absent from unreadable, because nova-spec/20-STDLIB.md §5 gives exists a Bool return rather than a Result; that is the spec’s choice and is left alone.

§Safety

path must point to a live NovaStr.