- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HasActiveRules (4.55 sec)
-
internal/bucket/replication/replication.go
} return false } // HasActiveRules - returns whether replication policy has active rules // Optionally a prefix can be supplied. // If recursive is specified the function will also return true if any level below the // prefix has active rules. If no prefix is specified recursive is effectively true. func (c Config) HasActiveRules(prefix string, recursive bool) bool { if len(c.Rules) == 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 8.9K bytes - Viewed (0) -
internal/bucket/lifecycle/evaluator.go
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 } return false } // IsObjectLocked checks if it is appropriate to remove an
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 4.6K bytes - Viewed (0)