| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0d6c68a commit 6565742
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -389,9 +389,12 @@ def __setstate__(self, d: Dict[str, Any]) -> None: | |||
| 389 | 389 | ||
| 390 | 390 | @classmethod | |
| 391 | 391 | def refresh(cls, path: Union[None, PathLike] = None) -> bool: | |
| 392 | - """This gets called by the :func:`git.refresh` function. | ||
| 392 | + """Update information about the git executable :class:`Git` objects will use. | ||
| 393 | 393 | ||
| 394 | - See the top level ``__init__.py``. | ||
| 394 | + Called by the :func:`git.refresh` function in the top level ``__init__``. | ||
| 395 | + | ||
| 396 | + This gets called by the :func:`git.refresh` function in the top-level | ||
| 397 | + ``__init__``. | ||
| 395 | 398 | ||
| 396 | 399 | :param path: | |
| 397 | 400 | Optional path to the git executable. If not absolute, it is resolved | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -338,9 +338,10 @@ class FetchInfo(IterableObj): | |||
| 338 | 338 | ||
| 339 | 339 | @classmethod | |
| 340 | 340 | def refresh(cls) -> Literal[True]: | |
| 341 | - """This gets called by the :func:`git.refresh` function. | ||
| 341 | + """Update information about which ``git fetch`` flags are supported by the git | ||
| 342 | + executable being used. | ||
| 342 | 343 | ||
| 343 | - See the top level ``__init__.py``. | ||
| 344 | + Called by the :func:`git.refresh` function in the top level ``__init__``. | ||
| 344 | 345 | """ | |
| 345 | 346 | # Clear the old values in _flag_map. | |
| 346 | 347 | with contextlib.suppress(KeyError): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments