pub unsafe extern "C" fn storage_common_equivalent_path(
storage: *mut Storage,
path1: *const c_char,
path2: *const c_char,
) -> boolExpand description
Check whether two paths are equivalent.
This function will resolve aliases and apply filesystem-specific rules to determine whether the two given paths are equivalent.
Examples:
- /int/text and /ext/test -> false (Different storages),
- /int/Test and /int/test -> false (Case-sensitive storage),
- /ext/Test and /ext/test -> true (Case-insensitive storage).
§Arguments
storage- pointer to a storage API instance.path1- pointer to a zero-terminated string containing the first path.path2- pointer to a zero-terminated string containing the second path.
§Returns
true if paths are equivalent, false otherwise.