Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for transformMetaDir (0.18 sec)

  1. cmd/data-scanner.go

    	failedSize      int64
    	pendingCount    uint64
    	failedCount     uint64
    }
    
    type getSizeFn func(item scannerItem) (sizeSummary, error)
    
    // transformMetaDir will transform a directory to prefix/file.ext
    func (i *scannerItem) transformMetaDir() {
    	split := strings.Split(i.prefix, SlashSeparator)
    	if len(split) > 1 {
    		i.prefix = pathJoin(split[:len(split)-1]...)
    	} else {
    		i.prefix = ""
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		doneSz(len(buf))
    		res["metasize"] = strconv.Itoa(len(buf))
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		// Remove filename which is the meta file.
    		item.transformMetaDir()
    
    		fivs, err := getFileInfoVersions(buf, item.bucket, item.objectPath(), false)
    		metaDataPoolPut(buf)
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top