Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HasSuffix (0.16 sec)

  1. cmd/xl-storage.go

    	dataUsageInfo, err := scanDataFolder(ctx, disks, s.drivePath, cache, func(item scannerItem) (sizeSummary, error) {
    		// Look for `xl.meta/xl.json' at the leaf.
    		if !strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFile) &&
    			!strings.HasSuffix(item.Path, SlashSeparator+xlStorageFormatFileV1) {
    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	ri := logger.GetReqInfo(ctx)
    	if ri != nil && strings.Contains(ri.UserAgent, `1.0 Veeam/1.0 Backup`) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    		opts.Transient = true
    	}
    
    	// set bucket metadata in opts
    	opts.setBucketMeta(ctx)
    
    	merged, err := z.listPath(ctx, &opts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		batchLogIf(j.ctx, err)
    		return
    	}
    	for result := range results {
    		// ignore batch-replicate.bin and batch-rotate.bin entries
    		if strings.HasSuffix(result.Name, slashSeparator) {
    			continue
    		}
    		req := &BatchJobRequest{}
    		if err := req.load(ctx, j.objLayer, result.Name); err != nil {
    			batchLogIf(ctx, err)
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	return describeCmd
    }
    
    // Append ".svc.cluster.local" if it isn't already present
    func extendFQDN(host string) string {
    	if host[0] == '*' {
    		return host
    	}
    	if strings.HasSuffix(host, k8sSuffix) {
    		return host
    	}
    	return host + k8sSuffix
    }
    
    // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match).
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top