FileIF.makeSymbolicLink

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 %G_IO_ERROR_CANCELLED will be returned.

interface FileIF
bool
makeSymbolicLink

Parameters

symlinkValue string

a string with the path for the target of the new symlink

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

Return: %TRUE on the creation of a new symlink, %FALSE otherwise.

Throws

GException on failure.

Meta