| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2af7640 commit 2aa053e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -160,19 +160,33 @@ def assert_never(inp: NoReturn, raise_error: bool = True, exc: Union[Exception, | |||
| 160 | 160 | ||
| 161 | 161 | ||
| 162 | 162 | class Files_TD(TypedDict): | |
| 163 | + """Dictionary with stat counts for the diff of a particular file. | ||
| 164 | + | ||
| 165 | + For the :class:`~git.util.Stats.files` attribute of :class:`~git.util.Stats` | ||
| 166 | + objects. | ||
| 167 | + """ | ||
| 168 | + | ||
| 163 | 169 | insertions: int | |
| 164 | 170 | deletions: int | |
| 165 | 171 | lines: int | |
| 166 | 172 | ||
| 167 | 173 | ||
| 168 | 174 | class Total_TD(TypedDict): | |
| 175 | + """Dictionary with total stats from any number of files. | ||
| 176 | + | ||
| 177 | + For the :class:`~git.util.Stats.total` attribute of :class:`~git.util.Stats` | ||
| 178 | + objects. | ||
| 179 | + """ | ||
| 180 | + | ||
| 169 | 181 | insertions: int | |
| 170 | 182 | deletions: int | |
| 171 | 183 | lines: int | |
| 172 | 184 | files: int | |
| 173 | 185 | ||
| 174 | 186 | ||
| 175 | 187 | class HSH_TD(TypedDict): | |
| 188 | + """Dictionary carrying the same information as a :class:`~git.util.Stats` object.""" | ||
| 189 | + | ||
| 176 | 190 | total: Total_TD | |
| 177 | 191 | files: Dict[PathLike, Files_TD] | |
| 178 | 192 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments