gitbolt 0.0.0.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gitbolt/__init__.py +18 -0
- gitbolt/_internal_init.py +18 -0
- gitbolt/add.py +652 -0
- gitbolt/base.py +333 -0
- gitbolt/exceptions.py +46 -0
- gitbolt/git_subprocess/__init__.py +14 -0
- gitbolt/git_subprocess/_internal_init.py +9 -0
- gitbolt/git_subprocess/add.py +484 -0
- gitbolt/git_subprocess/base.py +436 -0
- gitbolt/git_subprocess/constants.py +13 -0
- gitbolt/git_subprocess/exceptions.py +110 -0
- gitbolt/git_subprocess/impl/__init__.py +6 -0
- gitbolt/git_subprocess/impl/simple.py +185 -0
- gitbolt/git_subprocess/ls_tree.py +384 -0
- gitbolt/git_subprocess/runner/__init__.py +8 -0
- gitbolt/git_subprocess/runner/base.py +64 -0
- gitbolt/git_subprocess/runner/simple_impl.py +89 -0
- gitbolt/git_subprocess/utils.py +179 -0
- gitbolt/ls_tree.py +155 -0
- gitbolt/models.py +686 -0
- gitbolt/py.typed +0 -0
- gitbolt/utils.py +179 -0
- gitbolt-0.0.0.dev1.dist-info/METADATA +308 -0
- gitbolt-0.0.0.dev1.dist-info/RECORD +27 -0
- gitbolt-0.0.0.dev1.dist-info/WHEEL +5 -0
- gitbolt-0.0.0.dev1.dist-info/licenses/LICENSE +201 -0
- gitbolt-0.0.0.dev1.dist-info/top_level.txt +1 -0
gitbolt/__init__.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# coding=utf-8
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
Git command interfaces with default implementation using subprocess calls.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
# region imports
|
|
9
|
+
# region base related imports
|
|
10
|
+
from gitbolt.base import Git as Git
|
|
11
|
+
from gitbolt.base import CanOverrideGitOpts as CanOverrideGitOpts
|
|
12
|
+
from gitbolt.base import HasGitUnderneath as HasGitUnderneath
|
|
13
|
+
from gitbolt.base import GitSubCommand as GitSubCommand
|
|
14
|
+
from gitbolt.base import LsTree as LsTree
|
|
15
|
+
from gitbolt.base import Version as Version
|
|
16
|
+
from gitbolt.base import Add as Add
|
|
17
|
+
# endregion
|
|
18
|
+
# endregion
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# coding=utf-8
|
|
3
|
+
|
|
4
|
+
"""
|
|
5
|
+
Git command interfaces with default implementation using subprocess calls.
|
|
6
|
+
|
|
7
|
+
This file is created to behave as an __init__ but only for internal stuff as we do not want to export everything
|
|
8
|
+
in the package's __init__.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from vt.utils.errors.error_specs import ErrorMsgFormer
|
|
12
|
+
|
|
13
|
+
errmsg_creator = ErrorMsgFormer
|
|
14
|
+
"""
|
|
15
|
+
Create formatted error messages using this global instance.
|
|
16
|
+
|
|
17
|
+
To get a local instance use ``errmsg_creator.clone_with(...)``.
|
|
18
|
+
"""
|