Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newMetacache (0.16 sec)

  1. cmd/metacache-set.go

    	o.Lifecycle = lc
    	o.Versioning = vc
    	o.Replication = replicationConfig{
    		Config:  replCfg,
    		remotes: tgts,
    	}
    	o.Retention = rcfg
    }
    
    // newMetacache constructs a new metacache from the options.
    func (o listPathOptions) newMetacache() metacache {
    	return metacache{
    		id:          o.ID,
    		bucket:      o.Bucket,
    		root:        o.BaseDir,
    		recursive:   o.Recursive,
    		status:      scanStateStarted,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/metacache-server-pool.go

    	inCh := make(chan metaCacheEntry, metacacheBlockSize)
    	outCh := make(chan metaCacheEntry, o.Limit)
    
    	filteredResults := o.gatherResults(ctx, outCh)
    
    	mc := o.newMetacache()
    	meta := metaCacheRPC{meta: &mc, cancel: cancel, rpc: globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix)), o: *o}
    
    	// Save listing...
    	go func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top