Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dirExists (0.04 sec)

  1. cmd/metacache-entries.go

    		return nil, false
    	}
    
    	dirExists := 0
    	if cap(r.candidates) < len(m) {
    		r.candidates = make([][]xlMetaV2ShallowVersion, 0, len(m))
    	}
    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    			dirExists++
    			selected = entry
    			continue
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top