Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkDeprecation (0.37 sec)

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

    	return message
    }
    
    // CheckDeprecation returns a deprecation message from the go.mod file of the
    // latest version of the given module. Deprecation messages are comments
    // before or on the same line as the module directives that start with
    // "Deprecated:" and run until the end of the paragraph.
    //
    // CheckDeprecation returns an error if the message can't be loaded.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/build.go

    // author. m.Error is set if there's an error loading deprecation information.
    func addDeprecation(ctx context.Context, m *modinfo.ModulePublic) {
    	deprecation, err := CheckDeprecation(ctx, module.Version{Path: m.Path, Version: m.Version})
    	var noVersionErr *NoMatchingVersionError
    	if errors.Is(err, fs.ErrNotExist) || errors.As(err, &noVersionErr) {
    		// Ignore "not found" and "no matching version" errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

            boolean expectStackTraces, boolean checkDeprecations, boolean checkJdkWarnings
        ) {
            this.expectedGenericDeprecationWarnings = expectedGenericDeprecationWarnings;
            this.expectedDeprecationWarnings = new ArrayList<>(expectedDeprecationWarnings);
            this.expectStackTraces = expectStackTraces;
            this.checkDeprecations = checkDeprecations;
            this.checkJdkWarnings = checkJdkWarnings;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top