Lines Matching refs:root_dir
900 owner=None, group=None, logger=None, root_dir=None):
958 if root_dir is not None:
959 base_dir = os.path.join(root_dir, base_dir)
965 if root_dir is not None:
970 logger=None, owner=None, group=None, root_dir=None):
995 if root_dir is not None:
996 base_dir = os.path.join(root_dir, base_dir)
1004 if root_dir is not None:
1005 arcdirpath = os.path.relpath(arcdirpath, root_dir)
1022 if root_dir is not None:
1030 # * does it support the root_dir argument?
1083 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
1091 'root_dir' is a directory that will be the root directory of the
1092 archive; ie. we typically chdir into 'root_dir' before creating the
1095 directories in the archive. 'root_dir' and 'base_dir' both default
1101 sys.audit("shutil.make_archive", base_name, format, root_dir, base_dir)
1119 if root_dir is not None:
1123 kwargs['root_dir'] = root_dir
1127 logger.debug("changing into '%s'", root_dir)
1130 os.chdir(root_dir)