class_docstr: Cache storage that persists data to disk
  This is the default cache persistence layer for `@st.cache_data`
class_docstr_tok: ["Cache","storage","that","persists","data","to","disk","This","is","the","default","cache","persistence","layer","for","`","@","st.cache_data","`"]
docstr: Delete a cache file from disk. If the file does not exist on disk,
  return silently. If another exception occurs, log it. Does not throw.
docstr_tok: ["Delete","a","cache","file","from","disk",".","If","the","file","does","not","exist","on","disk",",","return","silently",".","If","another","exception","occurs",",","log","it",".","Does","not","throw","."]
code: def delete(self, key: str) -> None:
      """Delete a cache file from disk. If the file does not exist on disk,
      return silently. If another exception occurs, log it. Does not throw.
      """
      if self.persist == "disk":
          path = self._get_cache_file_path(key)
          try:
              os.remove(path)
          except FileNotFoundError:
              # The file is already removed.
              pass
          except Exception as ex:
              _LOGGER.exception(
                  "Unable to remove a file from the disk cache",
                  exc_info=ex,
              )
  
imports: from __future__ import annotations
  import math
  import os
  import shutil
  from streamlit import util
  from streamlit.file_util import get_streamlit_file_path, streamlit_read, streamlit_write
  from streamlit.logger import get_logger
  from streamlit.runtime.caching.storage.cache_storage_protocol import CacheStorage, CacheStorageContext, CacheStorageError, CacheStorageKeyNotFoundError, CacheStorageManager
  from streamlit.runtime.caching.storage.in_memory_cache_storage_wrapper import InMemoryCacheStorageWrapper
label_desc: Use image node_id 6 for calling the LocalDiskCacheStorage obj's underlying member method code with example usage: obj.delete(key) without return types