def __init__(self, volume, parent): ADFSNode.__init__(self, volume, parent) # state self.entries = None self.dcache_blks = None self.name_hash = None self.valid = False
def list(self, indent=0, all=False, detail=False, encoding="UTF-8"): ADFSNode.list(self, indent, all, detail, encoding) if not all and indent > 0: return self.ensure_entries() es = self.get_entries_sorted_by_name() for e in es: e.list(indent=indent+1, all=all, detail=detail, encoding=encoding)
def list(self, indent=0, all=False): ADFSNode.list(self, indent, all) if not all and indent > 0: return self.ensure_entries() es = self.get_entries_sorted_by_name() for e in es: e.list(indent=indent+1, all=all)
def __init__(self, volume, parent): ADFSNode.__init__(self, volume, parent) # state self.ext_blk_nums = [] self.ext_blks = [] self.data_blk_nums = [] self.data_blks = [] self.valid = False self.data = None self.data_size = 0 self.total_blks = 0