Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gitlab-External-Templates
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adri
Gitlab-External-Templates
Commits
decaabe0
Commit
decaabe0
authored
3 years ago
by
Ash McKenzie
Browse files
Options
Downloads
Patches
Plain Diff
Make path_matches? private as it's not public
parent
24c2d64c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ee/lib/gitlab/code_owners/file.rb
+2
-0
2 additions, 0 deletions
ee/lib/gitlab/code_owners/file.rb
with
2 additions
and
0 deletions
ee/lib/gitlab/code_owners/file.rb
+
2
−
0
View file @
decaabe0
...
...
@@ -145,6 +145,8 @@ def normalize_pattern(pattern)
pattern
end
private
def
path_matches?
(
pattern
,
path
)
# `FNM_DOTMATCH` makes sure we also match files starting with a `.`
# `FNM_PATHNAME` makes sure ** matches path separators
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment