Creates a link from a source to a destination.
- macOS 10.0–10.5Deprecated
- Mac Catalyst 13.0–13.0Deprecated
A path that identifies a source file or directory.
The file, link, or directory specified by
A path that identifies a destination file or directory.
The destination should not yet exist. The destination path must end in a filename; there is no implicit adoption of the source filename.
YES if the link operation is successful. If the operation is not successful, but the handler method
YES, also returns
YES. Otherwise returns
The handler callback mechanism is similar to delegation.
file when it begins a copy, move, remove, or link operation. It sends
file when it encounters any error in processing
Because this method does not return error information, it has been deprecated as of OS X v10.5. Use