class_docstr: An FsStore manages items under the given base filesystem.
  
  Note that FsStore has no consistency checks; it assumes that no direct modification
  of the files in its directory has occurred.
code: def list(
      self, tag: t.Optional[t.Union[Tag, str]] = None
  ) -> t.List[Item]:
      if not tag:
          return [
              ver
              for _d in sorted(self._fs.listdir("/"))
              if self._fs.isdir(_d)
              for ver in self.list(_d)
          ]
  
      _tag = Tag.from_taglike(tag)
      if _tag.version is None:
          if not self._fs.isdir(_tag.name):
              raise NotFound(
                  f"no {self._item_type.get_typename()}s with name '{_tag.name}' found"
              )
  
          tags = sorted(
              [
                  Tag(_tag.name, f.name)
                  for f in self._fs.scandir(_tag.name)
                  if f.is_dir
              ]
          )
          return [self._get_item(t) for t in tags]
      else:
          return (
              [self._get_item(_tag)]
              if self._fs.isdir(_tag.path())
              else []
          )
  
imports: from __future__ import annotations
  import datetime
  import os
  import typing
  from abc import ABC
  from abc import abstractmethod
  from contextlib import contextmanager
  import fs
  import fs.errors
  from fs.base import FS
  from ..exceptions import BentoMLException
  from ..exceptions import NotFound
  from .exportable import Exportable
  from .tag import Tag
  from .types import PathType
  from .utils import calc_dir_size
label_desc: Use image node_id 2 for calling the Store obj's underlying member method code with example usage: obj.list(tag) and returns: unknown, unknown, unknown