Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for IsPendingReplication (0.12 seconds)

  1. internal/bucket/lifecycle/evaluator.go

    func (e *Evaluator) WithReplicationConfig(rcfg *replication.Config) *Evaluator {
    	e.replCfg = rcfg
    	return e
    }
    
    // IsPendingReplication checks if the object is pending replication.
    func (e *Evaluator) IsPendingReplication(obj ObjectOpts) bool {
    	if e.replCfg == nil {
    		return false
    	}
    	if e.replCfg.HasActiveRules(obj.Name, true) && !obj.VersionPurgeStatus.Empty() {
    		return true
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top