Skip to main content

patch_seq_dir_exists

Function patch_seq_dir_exists 

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

Check if a directory exists

Stack effect: ( String – Bool )

Takes a path and returns true if it exists and is a directory.

§Safety

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