code: func LstatIfPossible(fs afero.Fs, path string) (os.FileInfo, error) {
  	if lstater, ok := fs.(afero.Lstater); ok {
  		fi, _, err := lstater.LstatIfPossible(path)
  		return fi, err
  	}
  
  	return fs.Stat(path)
  }
docs: // LstatIfPossible can be used to call Lstat if possible, else Stat.