code: func (a *AttrV2) Stat(info os.FileInfo) {
  	switch {
  	case info.IsDir():
  		a.Type = FileTypeDirectory
  	case info.Mode()&os.ModeSymlink == os.ModeSymlink:
  		a.Type = FileTypeSymlink
  	default:
  		a.Type = FileTypeRegular
  	}
  
  	a.Size = uint64(info.Size())
  
  	a.Mask = AttrValidType | AttrValidSize
  
  	a.sysStat(info)
  }
docs: // Stat maps os.FileInfo to AttrV2