fastgit 0.0.4__tar.gz → 0.0.5__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.
- {fastgit-0.0.4/fastgit.egg-info → fastgit-0.0.5}/PKG-INFO +1 -1
- fastgit-0.0.5/fastgit/__init__.py +3 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit/_modidx.py +1 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit/core.py +5 -1
- {fastgit-0.0.4 → fastgit-0.0.5/fastgit.egg-info}/PKG-INFO +1 -1
- {fastgit-0.0.4 → fastgit-0.0.5}/pyproject.toml +2 -0
- fastgit-0.0.4/fastgit/__init__.py +0 -3
- {fastgit-0.0.4 → fastgit-0.0.5}/LICENSE +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/MANIFEST.in +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/README.md +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit.egg-info/SOURCES.txt +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit.egg-info/dependency_links.txt +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit.egg-info/entry_points.txt +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/fastgit.egg-info/top_level.txt +0 -0
- {fastgit-0.0.4 → fastgit-0.0.5}/setup.cfg +0 -0
|
@@ -10,6 +10,7 @@ d = { 'settings': { 'branch': 'main',
|
|
|
10
10
|
'fastgit.core.Git.__getattr__': ('core.html#git.__getattr__', 'fastgit/core.py'),
|
|
11
11
|
'fastgit.core.Git.__init__': ('core.html#git.__init__', 'fastgit/core.py'),
|
|
12
12
|
'fastgit.core.Git.exists': ('core.html#git.exists', 'fastgit/core.py'),
|
|
13
|
+
'fastgit.core.Git.head_sha': ('core.html#git.head_sha', 'fastgit/core.py'),
|
|
13
14
|
'fastgit.core.Git.last_commit': ('core.html#git.last_commit', 'fastgit/core.py'),
|
|
14
15
|
'fastgit.core.Git.top': ('core.html#git.top', 'fastgit/core.py'),
|
|
15
16
|
'fastgit.core.callgit': ('core.html#callgit', 'fastgit/core.py'),
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
"""Implementation of fastgit
|
|
1
|
+
"""Implementation of fastgit
|
|
2
|
+
|
|
3
|
+
Docs: https://AnswerDotAI.github.io/fastgitcore.html.md"""
|
|
2
4
|
|
|
3
5
|
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/00_core.ipynb.
|
|
4
6
|
|
|
@@ -49,6 +51,8 @@ class Git:
|
|
|
49
51
|
|
|
50
52
|
@property
|
|
51
53
|
def exists(self): return self.top() is not None
|
|
54
|
+
@property
|
|
55
|
+
def head_sha(self): return self.rev_parse('HEAD', mute_errors=True)
|
|
52
56
|
|
|
53
57
|
# %% ../nbs/00_core.ipynb #b688e74b
|
|
54
58
|
@patch(as_prop=True)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|