Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for objectPath (0.17 sec)

  1. cmd/metacache-set.go

    }
    
    const metacachePrefix = ".metacache"
    
    func metacachePrefixForID(bucket, id string) string {
    	return pathJoin(bucketMetaPrefix, bucket, metacachePrefix, id)
    }
    
    // objectPath returns the object path of the cache.
    func (o *listPathOptions) objectPath(block int) string {
    	return pathJoin(metacachePrefixForID(o.Bucket, o.ID), "block-"+strconv.Itoa(block)+".s2")
    }
    
    func (o *listPathOptions) SetFilter() {
    	switch {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 04:42:11 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	versioned := vcfg != nil && vcfg.Versioned(i.objectPath())
    
    	objectInfos := make([]ObjectInfo, 0, len(fivs))
    
    	if i.lifeCycle == nil {
    		for _, fi := range fivs {
    			objectInfos = append(objectInfos, fi.ToObjectInfo(i.bucket, i.objectPath(), versioned))
    		}
    		return objectInfos, nil
    	}
    
    	event := i.lifeCycle.NoncurrentVersionsExpirationLimit(lifecycle.ObjectOpts{Name: i.objectPath()})
    	lim := event.NewerNoncurrentVersions
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    			// if no xl.meta/xl.json found, skip the file.
    			return sizeSummary{}, errSkipFile
    		}
    		stopFn := globalScannerMetrics.log(scannerMetricScanObject, s.drivePath, pathJoin(item.bucket, item.objectPath()))
    		res := make(map[string]string, 8)
    		defer func() {
    			stopFn(res)
    		}()
    
    		doneSz := globalScannerMetrics.timeSize(scannerMetricReadMetadata)
    		buf, err := s.readMetadata(ctx, item.Path)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 82.4K bytes
    - Viewed (0)
  4. internal/jwt/parser.go

    	jwtgo.StandardClaims
    }
    
    // UnmarshalJSON provides custom JSON unmarshal.
    // This is mainly implemented for speed.
    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    	return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error {
    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	// a slash separator, we treat it like a valid operation and
    	// return success.
    	// The response Etag headers should contain Md5Sum of empty string.
    	objectName = "objectwith/"
    	// create HTTP request for object upload.
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top