summaryrefslogtreecommitdiff
path: root/lib/git/index/fun.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-07-14 20:14:29 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-07-14 20:14:29 +0200
commit17a172920fde8c6688c8a1a39f258629b8b73757 (patch)
tree97735a11812af8acc54415101649b9a8ee18cd12 /lib/git/index/fun.py
parent24740f22c59c3bcafa7b2c1f2ec997e4e14f3615 (diff)
downloadgitpython-17a172920fde8c6688c8a1a39f258629b8b73757.tar.gz
Fixed the missing Repo type documentation thanks to a hint of gasche, fixed a few more resT syntax errors on the way
Diffstat (limited to 'lib/git/index/fun.py')
-rw-r--r--lib/git/index/fun.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/git/index/fun.py b/lib/git/index/fun.py
index fac559c5..4478228a 100644
--- a/lib/git/index/fun.py
+++ b/lib/git/index/fun.py
@@ -48,6 +48,7 @@ def write_cache_entry(entry, stream):
def write_cache(entries, stream, extension_data=None, ShaStreamCls=IndexFileSHA1Writer):
"""Write the cache represented by entries to a stream
+
:param entries: **sorted** list of entries
:param stream: stream to wrap into the AdapterStreamCls - it is used for
final output.
@@ -149,6 +150,7 @@ def read_cache(stream):
def write_tree_from_cache(entries, odb, sl, si=0):
"""Create a tree from the given sorted list of entries and put the respective
trees into the given object database
+
:param entries: **sorted** list of IndexEntries
:param odb: object database to store the trees in
:param si: start index at which we should start creating subtrees