Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Compare (0.16 sec)

  1. cmd/test-utils_test.go

    		t.Errorf("Object API Nil Test expected to fail with %d, but failed with %d", serverNotInitializedErr, rec.Code)
    	}
    
    	// HEAD HTTP Request doesn't contain body in its response,
    	// for other type of HTTP requests compare the response body content with the expected one.
    	if req.Method != http.MethodHead {
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    			},
    		})
    	}
    
    	return objInfos, nil
    }
    
    // applyActions will apply lifecycle checks on to a scanned item.
    // The resulting size on disk will always be returned.
    // The metadata will be compared to consensus on the object layer before any changes are applied.
    // If no metadata is supplied, -1 is returned if no action is taken.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top