@@ -215,32 +215,32 @@ class GitBaseURL(URLProtocol, SkipDefaultFieldsReprMixin):
215215
216216 Examples
217217 --------
218- >>> GitURL (url='https://github.com/vcs-python/libvcs.git')
219- GitURL (url=https://github.com/vcs-python/libvcs.git,
218+ >>> GitBaseURL (url='https://github.com/vcs-python/libvcs.git')
219+ GitBaseURL (url=https://github.com/vcs-python/libvcs.git,
220220 scheme=https,
221221 hostname=github.com,
222222 path=vcs-python/libvcs,
223223 suffix=.git,
224224 matcher=core-git-https)
225225
226- >>> myrepo = GitURL (url='https://github.com/myproject/myrepo.git')
226+ >>> myrepo = GitBaseURL (url='https://github.com/myproject/myrepo.git')
227227
228228 >>> myrepo.hostname
229229 'github.com'
230230
231231 >>> myrepo.path
232232 'myproject/myrepo'
233233
234- >>> GitURL (url='git@github.com:vcs-python/libvcs.git')
235- GitURL (url=git@github.com:vcs-python/libvcs.git,
234+ >>> GitBaseURL (url='git@github.com:vcs-python/libvcs.git')
235+ GitBaseURL (url=git@github.com:vcs-python/libvcs.git,
236236 user=git,
237237 hostname=github.com,
238238 path=vcs-python/libvcs,
239239 suffix=.git,
240240 matcher=core-git-scp)
241241
242- - Compatibility checking: :meth:`GitURL .is_valid()`
243- - URLs compatible with ``git(1)``: :meth:`GitURL .to_url()`
242+ - Compatibility checking: :meth:`GitBaseURL .is_valid()`
243+ - URLs compatible with ``git(1)``: :meth:`GitBaseURL .to_url()`
244244
245245 Attributes
246246 ----------
@@ -284,26 +284,26 @@ def is_valid(cls, url: str, is_explicit: Optional[bool] = None) -> bool:
284284 Examples
285285 --------
286286
287- >>> GitURL .is_valid(url='https://github.com/vcs-python/libvcs.git')
287+ >>> GitBaseURL .is_valid(url='https://github.com/vcs-python/libvcs.git')
288288 True
289289
290- >>> GitURL .is_valid(url='git@github.com:vcs-python/libvcs.git')
290+ >>> GitBaseURL .is_valid(url='git@github.com:vcs-python/libvcs.git')
291291 True
292292
293- >>> GitURL .is_valid(url='notaurl')
293+ >>> GitBaseURL .is_valid(url='notaurl')
294294 False
295295
296296 **Unambiguous VCS detection**
297297
298298 Sometimes you may want to match a VCS exclusively, without any change for, e.g.
299299 in order to outright detect the VCS system being used.
300300
301- >>> GitURL .is_valid(
301+ >>> GitBaseURL .is_valid(
302302 ... url='git@github.com:vcs-python/libvcs.git', is_explicit=True
303303 ... )
304304 False
305305
306- In this case, check :meth:`GitPipURL.is_valid` or :meth:`GitURL .is_valid`'s
306+ In this case, check :meth:`GitPipURL.is_valid` or :meth:`GitBaseURL .is_valid`'s
307307 examples.
308308 """
309309 if is_explicit is not None :
@@ -320,10 +320,10 @@ def to_url(self) -> str:
320320 Examples
321321 --------
322322
323- >>> git_url = GitURL (url='git@github.com:vcs-python/libvcs.git')
323+ >>> git_url = GitBaseURL (url='git@github.com:vcs-python/libvcs.git')
324324
325325 >>> git_url
326- GitURL (url=git@github.com:vcs-python/libvcs.git,
326+ GitBaseURL (url=git@github.com:vcs-python/libvcs.git,
327327 user=git,
328328 hostname=github.com,
329329 path=vcs-python/libvcs,
0 commit comments