Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skilljail/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _glob_component_hits(path: str, name_pattern: str) -> tuple[bool, bool]:
"""For ``**/name`` patterns. Returns (rule_inside_or_exact, rule_covers).

``name_pattern`` may be multi-component (``.git/hooks``).
A path is "inside" if some suffix of its components starts with the pattern components.
A path is "inside" if the pattern components appear as a contiguous run in its components.
A path "covers" the pattern if it is a parent of a directory that *could* contain it. Only
very broad roots (home or '/') count, and the caller handles those, so the second value
returned here is always False.
Expand Down
Loading