bversion/storage/versioned_storage.py
def read_dir_tree(self, file_hash):
        """ Recursively read the directory structure beginning at hash """

        json_d = self.read_tree_index_object(file_hash)
        node = {'files' : json_d['files'], 'dirs' : {}}
        for name, hsh in json_d['dirs'].items(): node['dirs'][name] = self.read_dir_tree(hsh)
        return node
 Recursively read the directory structure beginning at hash 
Recursively read the directory structure beginning at hash
Recursively read the directory structure beginning at hash
def read_dir_tree(self, file_hash):
        json_d = self.read_tree_index_object(file_hash)
        node = {'files' : json_d['files'], 'dirs' : {}}
        for name, hsh in json_d['dirs'].items(): node['dirs'][name] = self.read_dir_tree(hsh)
        return node
def read_dir_tree ( self , file_hash ) : json_d = self . read_tree_index_object ( file_hash ) node = { 'files' : json_d [ 'files' ] , 'dirs' : { } } for name , hsh in json_d [ 'dirs' ] . items ( ) : node [ 'dirs' ] [ name ] = self . read_dir_tree ( hsh ) return node
Recursively read the directory structure beginning at hash
Recursively read the directory structure beginning at hash
""" Recursively read the directory structure beginning at hash """
self
file_hash