summaryrefslogtreecommitdiff
path: root/git/db/interface.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-07-08 10:28:17 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-07-08 10:28:17 +0200
commit16a13276f26e2b4b0cad35c66a527bb8d128d587 (patch)
tree024ce184c93631698439623dc410c6701a1c971b /git/db/interface.py
parent023dc1244c02d415bb964eeb0b51b257523897df (diff)
downloadgitpython-16a13276f26e2b4b0cad35c66a527bb8d128d587.tar.gz
Added basic frame for pygit2 - it just needs some basic methods to be implemented now - depending on the performance, it might actually receive some more work
Diffstat (limited to 'git/db/interface.py')
-rw-r--r--git/db/interface.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/git/db/interface.py b/git/db/interface.py
index 9ad74cc1..2ff44f26 100644
--- a/git/db/interface.py
+++ b/git/db/interface.py
@@ -164,7 +164,9 @@ class RootPathDB(object):
def db_path(self, rela_path):
"""
:return: the given relative path relative to our database root, allowing
- to pontentially access datafiles"""
+ to pontentially access datafiles
+ :param rela_path: if not None or '', the relative path will be appended
+ to the database root path. Otherwise you will obtain the database root path itself"""
raise NotImplementedError()
#} END interface