##// END OF EJS Templates
vfs: add tryunlink method...
Ryan McElroy -
r31542:fad440db default
parent child Browse files
Show More
@@ -223,6 +223,10 b' class abstractvfs(object):'
223 223 def unlink(self, path=None):
224 224 return util.unlink(self.join(path))
225 225
226 def tryunlink(self, path=None):
227 """Attempt to remove a file, ignoring missing file errors."""
228 util.tryunlink(self.join(path))
229
226 230 def unlinkpath(self, path=None, ignoremissing=False):
227 231 return util.unlinkpath(self.join(path), ignoremissing=ignoremissing)
228 232
General Comments 0
You need to be logged in to leave comments. Login now