polaris.io.symlink
- polaris.io.symlink(target, link_name, overwrite=True)[source]
From https://stackoverflow.com/a/55742015/7728169 Create a symbolic link named link_name pointing to target. If link_name exists then FileExistsError is raised, unless overwrite=True. When trying to overwrite a directory, IsADirectoryError is raised.