Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dirExists (0.17 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
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
Back to top