FileT.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.

template FileT(TStruct)
bool
makeSymbolicLink
(,
Cancellable cancellable
)

Parameters

symlinkValue string

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

cancellable Cancellable

optional #GCancellable object, %NULL to ignore

Return Value

Type: bool

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

Throws

GException on failure.

Meta