gitbolt 0.0.0.dev20__tar.gz → 0.0.0.dev22__tar.gz
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-0.0.0.dev20 → gitbolt-0.0.0.dev22}/PKG-INFO +2 -2
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/README.md +1 -1
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/pyproject.toml +1 -1
- gitbolt-0.0.0.dev22/src/gitbolt/base.py +680 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/base.py +260 -5
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/impl/simple.py +156 -6
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/utils/session.py +10 -3
- gitbolt-0.0.0.dev22/src/gitbolt/subprocess/worktree.py +273 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/PKG-INFO +2 -2
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/SOURCES.txt +1 -0
- gitbolt-0.0.0.dev20/src/gitbolt/base.py +0 -355
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/LICENSE +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/setup.cfg +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/__init__.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/_internal_init.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/add.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/constants.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/exceptions.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/ls_tree.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/models.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/py.typed +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/pytest_plugin.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/__init__.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/_internal_init.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/add.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/constants.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/exceptions.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/impl/__init__.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/ls_tree.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/runner/__init__.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/runner/base.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/runner/simple.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/utils/__init__.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/utils/cmd.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/subprocess/utils/models.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt/utils.py +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/dependency_links.txt +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/entry_points.txt +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/requires.txt +0 -0
- {gitbolt-0.0.0.dev20 → gitbolt-0.0.0.dev22}/src/gitbolt.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitbolt
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev22
|
|
4
4
|
Summary: Fast, flexible and type-safe Git commands in Python.
|
|
5
5
|
Author-email: Suhas Krishna Srivastava <suhas.srivastava@vaastav.tech>
|
|
6
6
|
Maintainer-email: Suhas Krishna Srivastava <suhas.srivastava@vaastav.tech>
|
|
@@ -386,7 +386,7 @@ with git.session(
|
|
|
386
386
|
cat_file2=["cat-file", "--batch"],
|
|
387
387
|
cat_file3=lambda: git.subcmd_unchecked.popen(["cat-file", "--batch"]), # pass your own git subcmd Popen(s)
|
|
388
388
|
mktree=["mktree", "--batch", "-z"]
|
|
389
|
-
) as ses:
|
|
389
|
+
) as ses: # reusable and reentrant session
|
|
390
390
|
tree_data: list[bytes] = []
|
|
391
391
|
for mode_, sha_, name_ in cat_file_tree_data(ses.commands.cat_file2, b"HEAD^{tree}"):
|
|
392
392
|
print(mode_, sha_, name_)
|
|
@@ -350,7 +350,7 @@ with git.session(
|
|
|
350
350
|
cat_file2=["cat-file", "--batch"],
|
|
351
351
|
cat_file3=lambda: git.subcmd_unchecked.popen(["cat-file", "--batch"]), # pass your own git subcmd Popen(s)
|
|
352
352
|
mktree=["mktree", "--batch", "-z"]
|
|
353
|
-
) as ses:
|
|
353
|
+
) as ses: # reusable and reentrant session
|
|
354
354
|
tree_data: list[bytes] = []
|
|
355
355
|
for mode_, sha_, name_ in cat_file_tree_data(ses.commands.cat_file2, b"HEAD^{tree}"):
|
|
356
356
|
print(mode_, sha_, name_)
|