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 gio.types.IOErrorEnum.Cancelled will be returned.

template FileT()
override
bool
makeSymbolicLink

Parameters

symlinkValue string

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

cancellable gio.cancellable.Cancellable

optional #GCancellable object, null to ignore

Return Value

Type: bool

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