code: def post_freeze_hook(self):
          
          self._use_cache = False
          self._ls_abspath_cache = {}
          self._metadata_cache = {}
          self._size_and_timestamp_cache = {}
          _rm_if_exists(self._metadata_fragments_abspath)
docs: Post :meth:`dtoolcore.ProtoDataSet.freeze` cleanup actions.
  
          This method is called at the end of the
          :meth:`dtoolcore.ProtoDataSet.freeze` method.