Skip to content

Commit 884dc27

Browse files
committed
!squash registryy
1 parent 8dc873a commit 884dc27

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/url/registry.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ Detect VCS from `git`, `hg`, and `svn` URLs.
88

99
>>> registry.match('git@invent.kde.org:plasma/plasma-sdk.git')
1010
[ParserMatch(vcs='git', match=GitURL(...))]
11+
12+
>>> registry.match('git@invent.kde.org:plasma/plasma-sdk.git', is_explicit=True)
13+
[]
14+
15+
>>> registry.match('git+ssh://git@invent.kde.org:plasma/plasma-sdk.git')
16+
[ParserMatch(vcs='git', match=GitURL(...))]
17+
18+
>>> registry.match('git+ssh://git@invent.kde.org:plasma/plasma-sdk.git', is_explicit=False)
19+
[]
20+
21+
>>> registry.match('git+ssh://git@invent.kde.org:plasma/plasma-sdk.git', is_explicit=True)
22+
[ParserMatch(vcs='git', match=GitURL(...))]
1123
```
1224

1325
```{eval-rst}

0 commit comments

Comments
 (0)