Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for isProfile (0.13 sec)

  1. src/cmd/gofmt/gofmt.go

    	}
    	// It's only -r that makes use of go/ast's object resolution,
    	// so avoid the unnecessary work if the flag isn't used.
    	if *rewriteRule == "" {
    		parserMode |= parser.SkipObjectResolution
    	}
    }
    
    func isGoFile(f fs.DirEntry) bool {
    	// ignore non-Go files
    	name := f.Name()
    	return !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go") && !f.IsDir()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top