code: def makedirs(self, path):
          
          root = ""
  
          assert path.startswith('/')
          p = path.strip('/')
          for item in p.split('/'):
              root += "/" + item
              if not self.exists(root):
                  self.makedir(root)
  
          return self.find(path)
docs: Recursive storage DirEntry creation function.