• Mark Chao's avatar
    Add RepositorySizeChecker for size calculations · 641d3f0a
    Mark Chao authored
    Currently repository size checking is only happening at EE,
    and is coupled with attribute names heavily.
    By extracting related calculations into RepositorySizeChecker,
    they are decoupled from attribute names,
    and can later be reused on Snippet which has different attribute names.
    
    This is moved to FOSS level, same level as snippet checking.
    641d3f0a
has_repository.rb 2.29 KB