Mojo function
symlink
symlink[TargetType: PathLike, LinkType: PathLike](target: TargetType, linkpath: LinkType)
Creates a symlink.
If linkpath already exists it will not be overwritten.
See symlink(2)
Parameters:
- βTargetType (
PathLike): The path type of the link target. - βLinkType (
PathLike): The path type of the link.
Args:
- βtarget (
TargetType): The target of the symbolic link. - βlinkpath (
LinkType): The path of the symbolic link to create.
Raises:
If the operation fails.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!