Esempio n. 1
0
 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
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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