Skip to main content

patch_seq_dir_delete

Function patch_seq_dir_delete 

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

Delete an empty directory

Stack effect: ( String – Bool )

Takes a path and deletes the directory (must be empty). Returns true on success, false on failure.

§Safety

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