same_files Files which are identical in both a and b, using the class’s file comparison operator.
tempfile.mkstemp(suffix=None, prefix=None, dir=None, text=False) Creates a temporary file in the most secure manner possible
Path.chmod(mode) Change the file mode and permissions, like
shutil.copy2(src, dst, *, follow_symlinks=True) Identical to copy() except that copy2() also attempts
Path.samefile(other_path) Return whether this path points to the same file as other_path, which can be either a Path
stat.S_IMODE(mode) Return the portion of the file’s mode that can be set by
os.path.dirname(path) Return the directory name of pathname path. This is the first element of the pair returned by
Page 19 of 19