Platform-agnostic symbolic link management.

Static methods

staticcreate(targetPath:String, linkPath:String):Bool

Creates a symbolic link at linkPath pointing to targetPath.

Parameters:

targetPath

The existing file or directory the link will point to.

linkPath

The path where the symlink will be created.

Returns:

True if successful, false otherwise.

@:has_untypedstaticread(linkPath:String):String

Reads the target path of a symbolic link.

Parameters:

linkPath

The path to the symbolic link.

Returns:

The target path as a string, or null if it fails or is not a symlink.