Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-08 03:11:42 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-08 03:11:42 +0300
commit356e3c444dc8fab920d3547461b6ae721c5eb50f (patch)
tree1de57bb445a71aeb8684f5a1f15d2b04fd60a99b /app
parente0d38e233de6113b51f784452d0f1f805356adaa (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app')
-rw-r--r--app/models/ci/secure_file.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ci/secure_file.rb b/app/models/ci/secure_file.rb
index 37f4d620da6..af04db0a153 100644
--- a/app/models/ci/secure_file.rb
+++ b/app/models/ci/secure_file.rb
@@ -70,6 +70,10 @@ module Ci
end
end
+ def local?
+ file_store == ObjectStorage::Store::LOCAL
+ end
+
private
def assign_checksum