class_docstr: Wrap a FileSystem instance as a mutable wrapping.
  The keys of the mapping become files under the given root, and the
  values (which must be bytes) the contents of those files.
  
  Parameters
  ----------
  root: string
      prefix for all the files
  fs: FileSystem instance
  check: bool (=True)
      performs a touch at the location, to check for write access.
class_docstr_tok: ["Wrap","a","FileSystem","instance","as","a","mutable","wrapping",".","The","keys","of","the","mapping","become","files","under","the","given","root",",","and","the","values","(","which","must","be","bytes",")","the","contents","of","those","files",".","Parameters","--","--","--","--","--","root",":","string","prefix","for","all","the","files","fs",":","FileSystem","instance","check",":","bool","(","=True",")","performs","a","touch","at","the","location",",","to","check","for","write","access","."]
docstr: Remove all keys below root - empties out mapping
docstr_tok: ["Remove","all","keys","below","root","-","empties","out","mapping"]
code: def clear(self):
      """Remove all keys below root - empties out mapping"""
      try:
          self.fs.rm(self.root, True)
          self.fs.mkdir(self.root)
      except:  # noqa: E722  # pragma: no cover
          pass
  
imports: from collections.abc import MutableMapping
  from urllib.parse import urlparse
  from .local import LocalFileSystem
label_desc: Use image node_id 5 for calling the FSMap obj's underlying member method code with example usage: obj.clear() without return types