##// END OF EJS Templates
scmutil: support background closing for write()...
Gregory Szorc -
r28197:2ada6238 default
parent child Browse files
Show More
@@ -276,8 +276,8 b' class abstractvfs(object):'
276 with self(path, mode=mode) as fp:
276 with self(path, mode=mode) as fp:
277 return fp.readlines()
277 return fp.readlines()
278
278
279 def write(self, path, data):
279 def write(self, path, data, backgroundclose=False):
280 with self(path, 'wb') as fp:
280 with self(path, 'wb', backgroundclose=backgroundclose) as fp:
281 return fp.write(data)
281 return fp.write(data)
282
282
283 def writelines(self, path, data, mode='wb', notindexed=False):
283 def writelines(self, path, data, mode='wb', notindexed=False):
General Comments 0
You need to be logged in to leave comments. Login now