Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 319 for empty (0.17 sec)

  1. cmd/is-dir-empty_other.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1K bytes
    - Viewed (0)
  2. cmd/is-dir-empty_linux.go

    Harshavardhana <******@****.***> 1712330228 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. buildscripts/verify-healing-empty-erasure-set.sh

    Anis Eleuch <******@****.***> 1714082141 +0100
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. internal/config/config.go

    	if spc {
    		s.WriteString(KvDoubleQuote)
    	}
    	return s.String()
    }
    
    // KVS - is a shorthand for some wrapper functions
    // to operate on list of key values.
    type KVS []KV
    
    // Empty - return if kv is empty
    func (kvs KVS) Empty() bool {
    	return len(kvs) == 0
    }
    
    // Clone - returns a copy of the KVS
    func (kvs KVS) Clone() KVS {
    	return append(make(KVS, 0, len(kvs)), kvs...)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		return clnt.RemoveObject(context.Background(), bucket, object, minio.RemoveObjectOptions{})
    
    	case "Mkdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		if prefix == "" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    	ReplicaCount uint64 `msg:"ReplicaCount,omitempty"`
    }
    
    // empty returns true if the replicationAllStats is empty (contains no entries).
    func (r *replicationAllStats) empty() bool {
    	if r == nil {
    		return true
    	}
    	if r.ReplicaSize != 0 || r.ReplicaCount != 0 {
    		return false
    	}
    	for _, v := range r.Targets {
    		if !v.Empty() {
    			return false
    		}
    	}
    	return true
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. cmd/batch-replicate.go

    	SessionToken string `xml:"SessionToken" json:"sessionToken,omitempty" yaml:"sessionToken"`
    }
    
    // Empty indicates if credentials are not set
    func (c BatchJobReplicateCredentials) Empty() bool {
    	return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == ""
    }
    
    // Validate validates if credentials are valid
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. internal/arn/arn.go

    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err)
    			return
    		}
    
    		// Version in policy must not be empty
    		if sessionPolicy.Version == "" {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Version cannot be empty expecting '2012-10-17'"))
    			return
    		}
    	}
    
    	duration, err := openid.GetDefaultExpiration(r.Form.Get(stsDurationSeconds))
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. cmd/rebalance-admin.go

    	Status   string            `json:"status"`             // Active if rebalance is running, empty otherwise
    	Used     float64           `json:"used"`               // Percentage used space
    	Progress rebalPoolProgress `json:"progress,omitempty"` // is empty when rebalance is not running
    }
    
    // rebalanceAdminStatus holds rebalance status related information exported to mc, console, etc.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top