Skip to content

Commit e1810d1

Browse files
committed
feat(Matcher): Add optional attribute: is_explicit
1 parent 0f2d30b commit e1810d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libvcs/parse/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class Matcher(SkipDefaultFieldsReprMixin):
2828
pattern: Pattern
2929
"""Regex pattern"""
3030
pattern_defaults: dict = dataclasses.field(default_factory=dict)
31+
"""Is the match unambiguous with other VCS systems? e.g. git+ prefix"""
32+
is_explicit: bool = False
3133

3234

3335
@dataclasses.dataclass(repr=False)

0 commit comments

Comments
 (0)