mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
vfs: add unlinkpath to vfs
This patch adds unlinkpath() function in vfs to replace util.unlinkpath().
This commit is contained in:
parent
d79f20e375
commit
ecc3ce679c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user