Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CH (0.15 sec)

  1. docs/debugging/s3-verify/main.go

    		log.Fatalln(err)
    	}
    
    	maxObjectModTime := time.Now().Add(-ageDelta)
    
    	// Next object is used to ignore new objects in the source & target
    	nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) {
    		for {
    			ctnt, ok := <-ch
    			if !ok {
    				return minio.ObjectInfo{}, false
    			}
    			if ctnt.LastModified.Before(maxObjectModTime) {
    				return ctnt, ok
    			}
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jun 22 15:12:47 GMT 2022
    - 8.4K bytes
    - Viewed (0)
Back to top