code: func (fs *CamliFileSystem) newNodeFromBlobRef(root blob.Ref) (fusefs.Node, error) {
  	blob, err := fs.fetchSchemaMeta(context.TODO(), root)
  	if err != nil {
  		return nil, err
  	}
  
  	switch blob.Type() {
  	case "directory":
  		n := &node{fs: fs, blobref: root, meta: blob}
  		n.populateAttr()
  		return n, nil
  
  	case "permanode":
  		// other mutDirs listed in the default fileystem have names and are displayed
  		return &mutDir{fs: fs, permanode: root, name: "-"}, nil
  	}
  
  	return nil, fmt.Errorf("Blobref must be of a directory or permanode got a %v", blob.Type())
  }
docs: // consolated logic for determining a node to mount based on an arbitrary blobref