// Exists checks if a file or directory exists. func Exists(path string, fs afero.Fs) (bool, error) { return afero.Exists(fs, path) }
func (env *TestEnv) FileExists(path string) bool { result, _ := afero.Exists(env.fs, path) return result }