Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for bool_flag (0.12 sec)

  1. cmd/config-versions.go

    	Version string `json:"version"`
    
    	// S3 API configuration.
    	Credential auth.Credentials `json:"credential"`
    	Region     string           `json:"region"`
    	Worm       config.BoolFlag  `json:"worm"`
    
    	// Storage class configuration
    	StorageClass storageclass.Config `json:"storageclass"`
    
    	// Notification queue configuration.
    	Notify notify.Config `json:"notify"`
    
    	// Logger configuration
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    	app.HideHelpCommand = true
    	app.Flags = []cli.Flag{
    		cli.BoolFlag{
    			Usage:  "print each file as a separate line without formatting",
    			Name:   "ndjson",
    			Hidden: true,
    		},
    		cli.BoolFlag{
    			Usage: "display inline data keys and sizes",
    			Name:  "data",
    		},
    		cli.BoolFlag{
    			Usage: "export inline data",
    			Name:  "export",
    		},
    		cli.BoolFlag{
    			Usage: "combine inline data",
    			Name:  "combine",
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    	setTrue
    	setFalse
    )
    
    func triStateFlag(name string, value triState, usage string) *triState {
    	flag.Var(&value, name, usage)
    	return &value
    }
    
    // triState implements flag.Value, flag.Getter, and flag.boolFlag.
    // They work like boolean flags: we can say vet -printf as well as vet -printf=true
    func (ts *triState) Get() interface{} {
    	return *ts == setTrue
    }
    
    func (ts triState) isTrue() bool {
    	return ts == setTrue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/flag/flag.go

    func (b *boolValue) IsBoolFlag() bool { return true }
    
    // optional interface to indicate boolean flags that can be
    // supplied without "=value" text
    type boolFlag interface {
    	Value
    	IsBoolFlag() bool
    }
    
    // -- int Value
    type intValue int
    
    func newIntValue(val int, p *int) *intValue {
    	*p = val
    	return (*intValue)(p)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. cmd/server-main.go

    	cli.IntFlag{
    		Name:   "log-size",
    		Usage:  "specify the maximum server log file size in bytes before its rotated",
    		Value:  10 * humanize.MiByte,
    		EnvVar: "MINIO_LOG_SIZE",
    		Hidden: true,
    	},
    	cli.BoolFlag{
    		Name:   "log-compress",
    		Usage:  "specify if we want the rotated logs to be gzip compressed or not",
    		EnvVar: "MINIO_LOG_COMPRESS",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "log-prefix",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top