We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 135e506 commit 79d9b01Copy full SHA for 79d9b01
1 file changed
src/libvcs/_internal/shortcuts.py
@@ -72,6 +72,17 @@ def create_project(
72
... dir=tmp_path
73
... )
74
75
+ >>> isinstance(r, GitSync)
76
+ True
77
+
78
+ create_project can also guess VCS for certain URLs:
79
80
+ >>> r = create_project(
81
+ ... # Note the git+ before the URL
82
+ ... url=f'git+file://{create_git_remote_repo()}',
83
+ ... dir=tmp_path
84
+ ... )
85
86
>>> isinstance(r, GitSync)
87
True
88
"""
0 commit comments