Lines Matching full:path
118 def RemoveDirectory(*path):
124 Remove the directory located at *path, if it exists.
137 file_path = os.path.join(*path)
138 if not os.path.exists(file_path):
143 file_path = os.path.normcase(file_path)
153 def RemoveWithRetry_non_win(rmfunc, path):
154 if os.path.islink(path):
155 return os.remove(path)
157 return rmfunc(path)
161 def RmTreeOnError(function, path, excinfo):
163 to check for symbolic links. os.path.islink always returns False. But
187 print('WARNING: Failed to list %s during rmtree. Ignoring.\n' % path)
198 remove_with_retry(os.remove, os.path.join(root, name))
201 os.path.join(root, name))