Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for ignoredFile (0.15 sec)

  1. src/cmd/go/internal/modindex/build.go

    // even though it only considers text until the first non-comment
    // for +build lines.
    //
    // getFileInfo will return errNonSource if the file is not a source or object
    // file and shouldn't even be added to IgnoredFiles.
    func getFileInfo(dir, name string, fset *token.FileSet) (*fileInfo, error) {
    	if strings.HasPrefix(name, "_") ||
    		strings.HasPrefix(name, ".") {
    		return nil, nil
    	}
    
    	i := strings.LastIndex(name, ".")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
Back to top