Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for true (0.13 sec)

  1. cmd/object-api-errors.go

    func isErrMethodNotAllowed(err error) bool {
    	var methodNotAllowed MethodNotAllowed
    	return errors.As(err, &methodNotAllowed)
    }
    
    func isErrInvalidRange(err error) bool {
    	if errors.Is(err, errInvalidRange) {
    		return true
    	}
    	_, ok := err.(InvalidRange)
    	return ok
    }
    
    // ReplicationPermissionCheck - Check if error type is ReplicationPermissionCheck.
    type ReplicationPermissionCheck struct{}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/common-main.go

    		ctxt.configDirSet = true
    	case ctx.GlobalIsSet("config-dir"):
    		ctxt.ConfigDir = ctx.GlobalString("config-dir")
    		ctxt.configDirSet = true
    	}
    
    	switch {
    	case ctx.IsSet("certs-dir"):
    		ctxt.CertsDir = ctx.String("certs-dir")
    		ctxt.certsDirSet = true
    	case ctx.GlobalIsSet("certs-dir"):
    		ctxt.CertsDir = ctx.GlobalString("certs-dir")
    		ctxt.certsDirSet = true
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  3. internal/logger/logger.go

    	quietFlag = true
    }
    
    // EnableJSON - outputs logs in json format.
    func EnableJSON() {
    	color.TurnOff() // no colored outputs necessary in JSON mode.
    	jsonFlag = true
    	quietFlag = true
    }
    
    // EnableAnonymous - turns anonymous flag
    // to avoid printing sensitive information.
    func EnableAnonymous() {
    	anonFlag = true
    }
    
    // IsJSON - returns true if jsonFlag is true
    func IsJSON() bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top