pub unsafe extern "C" fn SecTranslocateCreateOriginalPathForURL(
    translocated_path: _Nonnull<CFURLRef>,
    error: _Nullable<*mut CFErrorRef>,
) -> _Nullable<CFURLRef>
Expand description

finds the original path to a file given a translocated path

§Arguments

  • translocated_path - the path to look up
  • error - On error will be populated with an error object describing the failure (a posix domain error such as EINVAL)

§Return

A valid, existant path, or NULL on error

§Discussion

https://github.com/apple-oss-distributions/Security/blob/rel/Security-59754/OSX/libsecurity_translocate/lib/SecTranslocate.h#L204-L213