Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for modFileIsDirty (0.12 sec)

  1. src/cmd/go/internal/modload/modfile.go

    		i.exclude[x.Mod] = true
    	}
    
    	return i
    }
    
    // modFileIsDirty reports whether the go.mod file differs meaningfully
    // from what was indexed.
    // If modFile has been changed (even cosmetically) since it was first read,
    // modFile.Cleanup must be called before modFileIsDirty.
    func (i *modFileIndex) modFileIsDirty(modFile *modfile.File) bool {
    	if i == nil {
    		return modFile != nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
Back to top