def list(self, path=None, with_metadata=False):
        '''get a list of all of the files in the repository'''

        path = path.strip('/') if path else ''

        if self.upstream:
            return self.upstream.list(path, with_metadata=with_metadata)
        else:
            raise NotImplementedError()
def list ( self , path = None , with_metadata = False ) : path = path . strip ( '/' ) if path else '' if self . upstream : return self . upstream . list ( path , with_metadata = with_metadata ) else : raise NotImplementedError ( )
get a list of all of the files in the repository