Skip to content
  • Milian Wolff's avatar
    Distinguish between read/write ops to item repository · a2782fac
    Milian Wolff authored
    Basically replace the single ::op call with two variants:
    
    1. read, taking a `const& repo`
    2. write, taking a `& repo`
    
    This clarifies the intention and makes the code more resilient.
    While doing this change, I reviewed the usages and fix a few
    cases where we took a mutable repo but only want/need a const ref.
    
    Thanks to Igor Kushnir for the suggestion!
    a2782fac