Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for filterPrefixesOnly (0.11 sec)

  1. cmd/metacache-entries.go

    	dst := m.o[:0]
    	for _, o := range m.o {
    		if !o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterPrefixesOnly will remove objects.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterPrefixesOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top