Skip to main content

patch_seq_dir_list

Function patch_seq_dir_list 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_dir_list(stack: Stack) -> Stack
Expand description

List directory contents

Stack effect: ( String – List Bool )

Takes a directory path and returns (list-of-names, success). Returns a list of filenames (strings) on success.

§Safety

  • stack must be a valid, non-null stack pointer
  • Top of stack must be path (String)