| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a6ce118 commit d171365
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -52,6 +52,7 @@ | |||
| 52 | 52 | from .typ import ( | |
| 53 | 53 | BaseIndexEntry, | |
| 54 | 54 | IndexEntry, | |
| 55 | + StageType, | ||
| 55 | 56 | ) | |
| 56 | 57 | from .util import TemporaryFileSwap, post_clear_cache, default_index, git_working_dir | |
| 57 | 58 | ||
@@ -83,7 +84,6 @@ | |||
| 83 | 84 | from git.util import Actor | |
| 84 | 85 | ||
| 85 | 86 | ||
| 86 | - StageType = int | ||
| 87 | 87 | Treeish = Union[Tree, Commit, str, bytes] | |
| 88 | 88 | ||
| 89 | 89 | # ------------------------------------------------------------------------------------ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | 5 | from .util import pack, unpack | |
| 6 | 6 | from git.objects import Blob | |
| 7 | - from git.index.base import StageType | ||
| 8 | 7 | ||
| 9 | 8 | ||
| 10 | 9 | # typing ---------------------------------------------------------------------- | |
@@ -16,9 +15,11 @@ | |||
| 16 | 15 | if TYPE_CHECKING: | |
| 17 | 16 | from git.repo import Repo | |
| 18 | 17 | ||
| 18 | + StageType = int | ||
| 19 | + | ||
| 19 | 20 | # --------------------------------------------------------------------------------- | |
| 20 | 21 | ||
| 21 | - __all__ = ("BlobFilter", "BaseIndexEntry", "IndexEntry") | ||
| 22 | + __all__ = ("BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType") | ||
| 22 | 23 | ||
| 23 | 24 | # { Invariants | |
| 24 | 25 | CE_NAMEMASK = 0x0FFF | |
| Back | FazBrowse Home | New Git URL |
0 commit comments