Mojo function
link
link[OldType: PathLike, NewType: PathLike](oldpath: OldType, newpath: NewType)
Creates a new hard-link to an existing file.
Parameters:
- βOldType (
PathLike): The path type of the existing file. - βNewType (
PathLike): The path type of the file to create.
Args:
- βoldpath (
OldType): The exsting file. - βnewpath (
NewType): The new file.
Raises:
If the operation fails.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!