Rename function

This commit is contained in:
Yifan Yang 2023-06-12 13:45:05 +08:00 committed by GitHub
parent 86a995161e
commit f4d81cc7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1884,7 +1884,7 @@ def is_cjk(character):
)
def symlink_or_copyfile(exp_dir: Path, src: str, dst: str):
def symlink_or_copy(exp_dir: Path, src: str, dst: str):
"""
In the experiment directory, create a symlink pointing to src named dst.
If symlink creation fails (Windows?), fall back to copyfile."""