IFClite TypeScript API
    Preparing search index...

    Function clashRuleRevision

    • The semantic revision of a rule: changes when anything that decides which pairs it reports changes (selectors, mode, tolerance, clearance, touch reporting, void/host exclusion, explicit membership), and not for its name or severity.

      Explicit member lists (membersA/membersB) are per-load refs, so a rule that uses them should pass membership, a durable description of how its members were chosen (the saved filter definition). Without it the lists themselves are hashed: any membership change, and any reload, yields a new revision, which fails closed (not comparable) instead of carrying a decision across a membership change.

      Parameters

      • rule: ClashRule
      • settings: { excludeVoidsAndHosts: boolean; tolerance: number }
      • Optionalmembership: string

      Returns string