summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-02-08 12:50:55 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2016-02-08 15:40:19 +0100
commit9a99d8e49dc07faaaa2fae436423e11dab5a7d7e (patch)
treede208a478614dfc317f444969480fa56013ee809 /spec/routing
parent7322c5a05bc018108123194e4e542bb04d42b2b2 (diff)
downloadgitlab-ce-9a99d8e49dc07faaaa2fae436423e11dab5a7d7e.tar.gz
Cache various Repository Git operationscaching-repository-git-operations
This caches the output of the following methods: * Repository#empty? * Repository#has_visible_content? * Repository#root_ref The cache for Repository#has_visible_content? is flushed whenever a commit is pushed to a new branch or an existing branch is removed. The cache for Repository#root_ref is only flushed whenever a user changes the default branch of a project. The cache for Repository#empty? is never explicitly flushed as there's no need for it.
Diffstat (limited to 'spec/routing')
0 files changed, 0 insertions, 0 deletions