Lines Matching refs:head
145 head, tail = path.split(name)
147 head, tail = path.split(head)
148 if head and tail and not path.exists(head):
150 makedirs(head, mode)
171 head, tail = path.split(name)
173 head, tail = path.split(head)
174 while head and tail:
176 rmdir(head)
179 head, tail = path.split(head)
196 head, tail = path.split(new)
197 if head and tail and not path.exists(head):
198 makedirs(head)
200 head, tail = path.split(old)
201 if head and tail:
203 removedirs(head)
366 head, tail = path.split(file)
367 if head: