vfs: add unlinkpath to vfs

This patch adds unlinkpath() function in vfs to replace util.unlinkpath().
This commit is contained in:
Chinmay Joshi 2014-06-05 15:16:44 +05:30
parent d79f20e375
commit ecc3ce679c

View File

@ -226,6 +226,9 @@ class abstractvfs(object):
def unlink(self, path=None):
return util.unlink(self.join(path))
def unlinkpath(self, path=None, ignoremissing=False):
return util.unlinkpath(self.join(path), ignoremissing)
def utime(self, path=None, t=None):
return os.utime(self.join(path), t)