Lines Matching refs:head
210 head, tail = path.split(name)
212 head, tail = path.split(head)
213 if head and tail and not path.exists(head):
215 makedirs(head, exist_ok=exist_ok)
244 head, tail = path.split(name)
246 head, tail = path.split(head)
247 while head and tail:
249 rmdir(head)
252 head, tail = path.split(head)
269 head, tail = path.split(new)
270 if head and tail and not path.exists(head):
271 makedirs(head)
273 head, tail = path.split(old)
274 if head and tail:
276 removedirs(head)