Lines Matching refs:src
18 def copy_tree(src: str,
22 """copy src/* to dest/
24 1. If src item is a symlink, and points to some item inside src,
26 2. If src item points to items outside src, then follow links to copy
28 3. Else copy src item to dest.
30 1. If src item is a symlink, then follow links to copy the original file
32 2. Else copy src item to dest.
35 with os.scandir(src) as itr:
38 src,
45 src: str,
51 srcname = os.path.join(src, item.name)
76 if os.path.abspath(src) in os.path.abspath(
101 shutil.copystat(src, dest)
170 for src, dest in zip(src_files, dest_files):
171 if os.path.isdir(src):
175 copy_file(src, os.path.join(options.dest, dest), deps)