• Patrick Steinhardt's avatar
    checks: Add function to convert ChangesAccess to SingleChangeAccesses · 1f3f6579
    Patrick Steinhardt authored
    There is only a single callsite right now which extracts changes from a
    ChangesAccess and converts them into SingleChangeAccesses, which is
    inside the ChangesAccess class itself. We're about to convert push rules
    such that they can both drive single and bulk push rules, and there
    we'll need the same functionality.
    
    Extract the code into a standalone `#single_change_accesses()` function
    which can be used to do the conversion.
    1f3f6579
To find the state of this project's repository at the time of any of these versions, check out the tags..
changes_access.rb 3.27 KB