mercurial/vfs.py
changeset 41091 d9b6b9ed96d8
parent 41090 c8006a25b845
child 41092 9e593db5f1a1
equal deleted inserted replaced
41090:c8006a25b845 41091:d9b6b9ed96d8
    43     """Abstract base class; cannot be instantiated"""
    43     """Abstract base class; cannot be instantiated"""
    44 
    44 
    45     def __init__(self, *args, **kwargs):
    45     def __init__(self, *args, **kwargs):
    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 
       
    49     def _auditpath(self, path, mode):
       
    50         pass
    48 
    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:
    52             return self.read(path)
    55             return self.read(path)