code: func (ns NameSpace) resolve(path string) []mountedFS {
  	path = ns.clean(path)
  	for {
  		if m := ns[path]; m != nil {
  			if debugNS {
  				fmt.Printf("resolve %s: %v\n", path, m)
  			}
  			return m
  		}
  		if path == "/" {
  			break
  		}
  		path = pathpkg.Dir(path)
  	}
  	return nil
  }
docs: // resolve resolves a path to the list of mountedFS to use for path.