pub unsafe extern "C" fn SecTranslocateCreateSecureDirectoryForURL(
path_to_translocate: _Nonnull<CFURLRef>,
destination_path: _Nullable<CFURLRef>,
error: _Nullable<*mut CFErrorRef>,
) -> _Nullable<CFURLRef>Expand description
Create a CFURL pointing to a translocated location from which to access the directory specified by pathToTranslocate.
§Arguments
path_to_translocate- URL of the directory to be accessed from a translocated location.destination_path- URL where the directory of interest should be translocated, or NULL for a random UUID locationerror- On error will be populated with an error object describing the failure (a posix domain error such as EINVAL)
§Return
A CFURL pointing to the translocated location of the directory.