File.makeSymbolicLink

bool makeSymbolicLink(string symlinkValue, gio.cancellable.Cancellable cancellable = null)

Creates a symbolic link named file which contains the string symlink_value.

If cancellable is not null, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error [gio.types.IOErrorEnum.Cancelled] will be returned.

Parameters

symlinkValuea string with the path for the target of the new symlink
cancellableoptional #GCancellable object, null to ignore

Returns

true on the creation of a new symlink, false otherwise.

Throws

[ErrorWrap]