ee/app/models/ee/repository.rb
# Runs code after a repository has been synced.
Runs code after a repository has been synced.
Runs code after a repository has been synced .
def after_sync
      expire_all_method_caches
      expire_branch_cache if exists?
      expire_content_cache
    end
def after_sync expire_all_method_caches expire_branch_cache if exists? expire_content_cache end
Runs code after a repository has been synced.
Runs code after a repository has been synced .