Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for transformMetaDir (0.11 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)
Back to top