##// END OF EJS Templates
vfs: add a `_auditpath` to abstract vfs...
Boris Feld -
r41123:d9b6b9ed default
parent child Browse files
Show More
@@ -46,6 +46,9 b' class abstractvfs(object):'
46 '''Prevent instantiation; don't call this from subclasses.'''
46 '''Prevent instantiation; don't call this from subclasses.'''
47 raise NotImplementedError('attempted instantiating ' + str(type(self)))
47 raise NotImplementedError('attempted instantiating ' + str(type(self)))
48
48
49 def _auditpath(self, path, mode):
50 pass
51
49 def tryread(self, path):
52 def tryread(self, path):
50 '''gracefully return an empty string for missing files'''
53 '''gracefully return an empty string for missing files'''
51 try:
54 try:
General Comments 0
You need to be logged in to leave comments. Login now