Gio.File.prototype.make_symbolic_link

function make_symbolic_link(symlink_value: String, cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for g_file_make_symbolic_link()
}
  

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.IOErrorEnum.cancelled will be returned.

symlink_value

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

cancellable

optional Gio.Cancellable object, null to ignore

Returns

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