code: def rmtree(self, path):
          
          for root, storage, streams in self.walk(path, topdown=False):
  
              for item in streams:
                  self.free_fat_chain(item.sector_id, item.byte_size < self.min_stream_max_size)
                  self.free_dir_entry(item)
  
              for item in storage:
                  self.free_dir_entry(item)
  
              root.child_id = None
  
          # remove root item
          self.remove(path)
docs: Removes directory structure, similar to shutil.rmtree.