equal
deleted
inserted
replaced
313 def rename(self, src, dst): |
313 def rename(self, src, dst): |
314 return util.rename(self.join(src), self.join(dst)) |
314 return util.rename(self.join(src), self.join(dst)) |
315 |
315 |
316 def readlink(self, path): |
316 def readlink(self, path): |
317 return os.readlink(self.join(path)) |
317 return os.readlink(self.join(path)) |
|
318 |
|
319 def removedirs(self, path=None): |
|
320 """Remove a leaf directory and all empty intermediate ones |
|
321 """ |
|
322 return util.removedirs(self.join(path)) |
318 |
323 |
319 def rmtree(self, path=None, ignore_errors=False, forcibly=False): |
324 def rmtree(self, path=None, ignore_errors=False, forcibly=False): |
320 """Remove a directory tree recursively |
325 """Remove a directory tree recursively |
321 |
326 |
322 If ``forcibly``, this tries to remove READ-ONLY files, too. |
327 If ``forcibly``, this tries to remove READ-ONLY files, too. |