class_docstr: A StoreBackend used with local or network file systems.
class_docstr_tok: ["A","StoreBackend","used","with","local","or","network","file","systems","."]
docstr: Returns the whole list of items available in the store.
docstr_tok: ["Returns","the","whole","list","of","items","available","in","the","store","."]
code: def get_items(self):
      """Returns the whole list of items available in the store."""
      items = []
  
      for dirpath, _, filenames in os.walk(self.location):
          is_cache_hash_dir = re.match(
              "[a-f0-9]{32}", os.path.basename(dirpath)
          )
  
          if is_cache_hash_dir:
              output_filename = os.path.join(dirpath, "output.pkl")
              try:
                  last_access = os.path.getatime(output_filename)
              except OSError:
                  try:
                      last_access = os.path.getatime(dirpath)
                  except OSError:
                      # The directory has already been deleted
                      continue
  
              last_access = datetime.datetime.fromtimestamp(last_access)
              try:
                  full_filenames = [
                      os.path.join(dirpath, fn) for fn in filenames
                  ]
                  dirsize = sum(
                      os.path.getsize(fn) for fn in full_filenames
                  )
              except OSError:
                  # Either output_filename or one of the files in
                  # dirpath does not exist any more. We assume this
                  # directory is being cleaned by another process already
                  continue
  
              items.append(CacheItemInfo(dirpath, dirsize, last_access))
  
      return items
  
imports: from pickle import PicklingError
  import re
  import os
  import os.path
  import datetime
  import json
  import shutil
  import warnings
  import collections
  import operator
  import threading
  from abc import ABCMeta, abstractmethod
  from .backports import concurrency_safe_rename
  from .disk import mkdirp, memstr_to_bytes, rm_subdirs
  from .None import numpy_pickle
label_desc: Use image node_id 3 for calling the FileSystemStoreBackend obj's underlying member method code with example usage: obj.get_items() and returns: items