Skip to main content

patch_seq_file_delete

Function patch_seq_file_delete 

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

Delete a file

Stack effect: ( String – Bool )

Takes a file path and deletes the file. Returns true on success, false on failure (including if file doesn’t exist).

§Safety

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