| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5b2771d commit fc86a23
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,30 @@ | |||
| 1 | + diff --git a/a b/b | ||
| 2 | + index 81b3f984..7b8c8ede 100644 | ||
| 3 | + --- a/a | ||
| 4 | + +++ b/b | ||
| 5 | + @@ -83,14 +83,12 @@ git: | ||
| 6 | + __path__: ['C:\\Users\\ek\\source\\repos\\GitPython\\git'] | ||
| 7 | + __spec__: ModuleSpec(name='git', loader=<_frozen_importlib_external.SourceFileLoader object at 0x...>, origin='C:\\Users\\ek\\source\\repos\\GitPython\\git\\__init__.py', submodule_search_locations=['C:\\Users\\ek\\source\\repos\\GitPython\\git']) | ||
| 8 | + __version__: 'git' | ||
| 9 | + - base: <module 'git.index.base' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\base.py'> | ||
| 10 | + cmd: <module 'git.cmd' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\cmd.py'> | ||
| 11 | + compat: <module 'git.compat' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\compat.py'> | ||
| 12 | + config: <module 'git.config' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\config.py'> | ||
| 13 | + db: <module 'git.db' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\db.py'> | ||
| 14 | + diff: <module 'git.diff' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\diff.py'> | ||
| 15 | + exc: <module 'git.exc' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\exc.py'> | ||
| 16 | + - fun: <module 'git.index.fun' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\fun.py'> | ||
| 17 | + head: <module 'git.refs.head' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\refs\\head.py'> | ||
| 18 | + index: <module 'git.index' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\__init__.py'> | ||
| 19 | + log: <module 'git.refs.log' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\refs\\log.py'> | ||
| 20 | + @@ -106,9 +104,8 @@ git: | ||
| 21 | + symbolic: <module 'git.refs.symbolic' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\refs\\symbolic.py'> | ||
| 22 | + tag: <module 'git.refs.tag' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\refs\\tag.py'> | ||
| 23 | + to_hex_sha: <function to_hex_sha at 0x...> | ||
| 24 | + - typ: <module 'git.index.typ' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\typ.py'> | ||
| 25 | + types: <module 'git.types' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\types.py'> | ||
| 26 | + - util: <module 'git.index.util' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\index\\util.py'> | ||
| 27 | + + util: <module 'git.util' from 'C:\\Users\\ek\\source\\repos\\GitPython\\git\\util.py'> | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + git.cmd: | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,5 +3,14 @@ | |||
| 3 | 3 | ||
| 4 | 4 | """Initialize the index package.""" | |
| 5 | 5 | ||
| 6 | - from .base import * # noqa: F401 F403 | ||
| 7 | - from .typ import * # noqa: F401 F403 | ||
| 6 | + __all__ = [ | ||
| 7 | + "BaseIndexEntry", | ||
| 8 | + "BlobFilter", | ||
| 9 | + "CheckoutError", | ||
| 10 | + "IndexEntry", | ||
| 11 | + "IndexFile", | ||
| 12 | + "StageType", | ||
| 13 | + ] | ||
| 14 | + | ||
| 15 | + from .base import CheckoutError, IndexFile | ||
| 16 | + from .typ import BaseIndexEntry, BlobFilter, IndexEntry, StageType | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,6 +6,8 @@ | |||
| 6 | 6 | """Module containing :class:`IndexFile`, an Index implementation facilitating all kinds | |
| 7 | 7 | of index manipulations such as querying and merging.""" | |
| 8 | 8 | ||
| 9 | + __all__ = ("IndexFile", "CheckoutError", "StageType") | ||
| 10 | + | ||
| 9 | 11 | import contextlib | |
| 10 | 12 | import datetime | |
| 11 | 13 | import glob | |
@@ -81,9 +83,6 @@ | |||
| 81 | 83 | # ------------------------------------------------------------------------------------ | |
| 82 | 84 | ||
| 83 | 85 | ||
| 84 | - __all__ = ("IndexFile", "CheckoutError", "StageType") | ||
| 85 | - | ||
| 86 | - | ||
| 87 | 86 | @contextlib.contextmanager | |
| 88 | 87 | def _named_temporary_file_for_subprocess(directory: PathLike) -> Generator[str, None, None]: | |
| 89 | 88 | """Create a named temporary file git subprocesses can open, deleting it afterward. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,13 +3,14 @@ | |||
| 3 | 3 | ||
| 4 | 4 | """Additional types used by the index.""" | |
| 5 | 5 | ||
| 6 | + __all__ = ("BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType") | ||
| 7 | + | ||
| 6 | 8 | from binascii import b2a_hex | |
| 7 | 9 | from pathlib import Path | |
| 8 | 10 | ||
| 9 | 11 | from .util import pack, unpack | |
| 10 | 12 | from git.objects import Blob | |
| 11 | 13 | ||
| 12 | - | ||
| 13 | 14 | # typing ---------------------------------------------------------------------- | |
| 14 | 15 | ||
| 15 | 16 | from typing import NamedTuple, Sequence, TYPE_CHECKING, Tuple, Union, cast | |
@@ -23,8 +24,6 @@ | |||
| 23 | 24 | ||
| 24 | 25 | # --------------------------------------------------------------------------------- | |
| 25 | 26 | ||
| 26 | - __all__ = ("BlobFilter", "BaseIndexEntry", "IndexEntry", "StageType") | ||
| 27 | - | ||
| 28 | 27 | # { Invariants | |
| 29 | 28 | CE_NAMEMASK = 0x0FFF | |
| 30 | 29 | CE_STAGEMASK = 0x3000 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments