class_docstr: Frozen data structure holding information about the entire cache-system.
  
  This data structure is returned by [`scan_cache_dir`] and is immutable.
  
  Args:
      size_on_disk (`int`):
          Sum of all valid repo sizes in the cache-system.
      repos (`FrozenSet[CachedRepoInfo]`):
          Set of [`~CachedRepoInfo`] describing all valid cached repos found on the
          cache-system while scanning.
      warnings (`List[CorruptedCacheException]`):
          List of [`~CorruptedCacheException`] that occurred while scanning the cache.
          Those exceptions are captured so that the scan can continue. Corrupted repos
          are skipped from the scan.
  
  <Tip warning={true}>
  
  Here `size_on_disk` is equal to the sum of all repo sizes (only blobs). However if
  some cached repos are corrupted, their sizes are not taken into account.
  
  </Tip>
docstr: (property) Sum of all valid repo sizes in the cache-system as a human-readable
  string.
  
  Example: "42.2K".
code: def size_on_disk_str(self) -> str:
      """
      (property) Sum of all valid repo sizes in the cache-system as a human-readable
      string.
  
      Example: "42.2K".
      """
      return _format_size(self.size_on_disk)
  
imports: import os
  import shutil
  import time
  from collections import defaultdict
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Dict, FrozenSet, List, Literal, Optional, Set, Union
  from ..constants import HF_HUB_CACHE
  from .None import logging
label_desc: Use image node_id 1 for calling the HFCacheInfo obj's underlying member method code with example usage: obj.size_on_disk_str() and returns: _format_size