FilePath.link

Create a new name for a file (also known as -hard-linking)

class FilePath
final
link

Parameters

dst FilePath

FilePath with the new file name

Return Value

Type: FilePath

this.path set to the new destination location if it was moved, null otherwise.

See Also

man 2 link

Meta