storage_common_exists

Function storage_common_exists 

Source
pub unsafe extern "C" fn storage_common_exists(
    storage: *mut Storage,
    path: *const c_char,
) -> bool
Expand description

Check whether a file or a directory exists.

§Arguments

  • storage - pointer to a storage API instance.
  • path - pointer to a zero-terminated string containing the path in question.

§Returns

true if a file or a directory exists, false otherwise.