subdirs A dictionary mapping names in common_dirs to dircmp objects.
stat.S_ISREG(mode) Return non-zero if the mode is from a regular file.
shutil.copyfileobj(fsrc, fdst[, length]) Copy the contents of the file-like object fsrc to the file-like object fdst
shutil.copystat(src, dst, *, follow_symlinks=True) Copy the permission bits, last access time, last modification time, and flags
shutil.register_archive_format(name, function[, extra_args[, description]]) Register an archiver for the format name
PurePath.is_absolute() Return whether the path is absolute or not. A path is considered absolute if it has both a root and (if
os.path.samefile(path1, path2) Return True if both pathname arguments refer to the same file or directory. This
PurePath.joinpath(*other) Calling this method is equivalent to combining the path with each of the other arguments
Path.rename(target) Rename this file or directory to the given target. On Unix, if target exists and is a
tempfile.gettempprefix() Return the filename prefix used to create temporary files. This does not contain the directory component
Page 1 of 19