| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ca2ab61 commit 37421e1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,13 +65,10 @@ def __exit__( | |||
| 65 | 65 | ||
| 66 | 66 | ||
| 67 | 67 | def post_clear_cache(func: Callable[..., _T]) -> Callable[..., _T]: | |
| 68 | - """Decorator for functions that alter the index using the git command. This would | ||
| 69 | - invalidate our possibly existing entries dictionary which is why it must be deleted | ||
| 70 | - to allow it to be lazily reread later. | ||
| 68 | + """Decorator for functions that alter the index using the git command. | ||
| 71 | 69 | ||
| 72 | - :note: | ||
| 73 | - This decorator is required because not all functions related to | ||
| 74 | - :class:`~git.index.base.IndexFile` are implemented natively. | ||
| 70 | + When a git command alters the index, this invalidates our possibly existing entries | ||
| 71 | + dictionary, which is why it must be deleted to allow it to be lazily reread later. | ||
| 75 | 72 | """ | |
| 76 | 73 | ||
| 77 | 74 | @wraps(func) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments