pub unsafe extern "C" fn storage_common_is_subdir(
storage: *mut Storage,
parent: *const c_char,
child: *const c_char,
) -> boolExpand description
Check whether a path is a subpath of another path.
This function respects storage-defined equivalence rules
(see storage_common_equivalent_path).
§Arguments
storage- pointer to a storage API instance.parent- pointer to a zero-terminated string containing the parent path.child- pointer to a zero-terminated string containing the child path.
§Returns
true if child is a subpath of parent, or if child is equivalent
to parent; false otherwise.