| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -131,10 +131,17 @@ Remote | |||
| 131 | 131 | :members: | |
| 132 | 132 | :undoc-members: | |
| 133 | 133 | ||
| 134 | - Repo | ||
| 135 | - ---- | ||
| 134 | + Repo.Base | ||
| 135 | + --------- | ||
| 136 | + | ||
| 137 | + .. automodule:: git.repo.base | ||
| 138 | + :members: | ||
| 139 | + :undoc-members: | ||
| 140 | + | ||
| 141 | + Repo.Functions | ||
| 142 | + -------------- | ||
| 136 | 143 | ||
| 137 | - .. automodule:: git.repo | ||
| 144 | + .. automodule:: git.repo.fun | ||
| 138 | 145 | :members: | |
| 139 | 146 | :undoc-members: | |
| 140 | 147 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -445,12 +445,12 @@ def iter_blobs(self, predicate = lambda t: True): | |||
| 445 | 445 | ||
| 446 | 446 | def unmerged_blobs(self): | |
| 447 | 447 | """ | |
| 448 | - Returns | ||
| 448 | + :return: | ||
| 449 | 449 | Iterator yielding dict(path : list( tuple( stage, Blob, ...))), being | |
| 450 | 450 | a dictionary associating a path in the index with a list containing | |
| 451 | 451 | sorted stage/blob pairs | |
| 452 | 452 | ||
| 453 | - Note: | ||
| 453 | + :note: | ||
| 454 | 454 | Blobs that have been removed in one side simply do not exist in the | |
| 455 | 455 | given stage. I.e. a file removed on the 'other' branch whose entries | |
| 456 | 456 | are at stage 3 will not have a stage 3 entry. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,6 +48,7 @@ def write_cache_entry(entry, stream): | |||
| 48 | 48 | ||
| 49 | 49 | def write_cache(entries, stream, extension_data=None, ShaStreamCls=IndexFileSHA1Writer): | |
| 50 | 50 | """Write the cache represented by entries to a stream | |
| 51 | + | ||
| 51 | 52 | :param entries: **sorted** list of entries | |
| 52 | 53 | :param stream: stream to wrap into the AdapterStreamCls - it is used for | |
| 53 | 54 | final output. | |
@@ -149,6 +150,7 @@ def read_cache(stream): | |||
| 149 | 150 | def write_tree_from_cache(entries, odb, sl, si=0): | |
| 150 | 151 | """Create a tree from the given sorted list of entries and put the respective | |
| 151 | 152 | trees into the given object database | |
| 153 | + | ||
| 152 | 154 | :param entries: **sorted** list of IndexEntries | |
| 153 | 155 | :param odb: object database to store the trees in | |
| 154 | 156 | :param si: start index at which we should start creating subtrees | |
| Back | FazBrowse Home | New Git URL |
0 commit comments