package fs import ( "errors" "os" ) func PathExists(path string) bool { _, err := os.Stat(path) return !errors.Is(err, os.ErrNotExist) }