- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for shouldSkip (0.06 seconds)
-
cmd/metacache-server-pool.go
funcReturnedMu.Lock() funcReturned = true funcReturnedMu.Unlock() }() // Write listing to results and saver. go func() { var returned bool for entry := range inCh { if o.shouldSkip(ctx, entry) { continue } if !returned { funcReturnedMu.Lock() returned = funcReturned funcReturnedMu.Unlock() outCh <- entry if returned { xioutil.SafeClose(outCh)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12.9K bytes - Click Count (0) -
cmd/metacache-set.go
console.Debugf(format+"\n", data...) } } func (o *listPathOptions) debugln(data ...any) { if serverDebugLog { console.Debugln(data...) } } func (o *listPathOptions) shouldSkip(ctx context.Context, entry metaCacheEntry) (yes bool) { if !o.IncludeDirectories && (entry.isDir() || (!o.Versioned && entry.isObjectDir() && entry.isLatestDeletemarker())) { return true }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 30.7K bytes - Click Count (0)