We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f938b49 commit 8f74752Copy full SHA for 8f74752
pygit2/config.py
@@ -323,4 +323,6 @@ def value_string(self):
323
324
@staticmethod
325
def decode_as_string(value):
326
+ """Returns ``value`` as a decoded ``utf-8`` string.
327
+ """
328
return ffi.string(value).decode('utf-8')
0 commit comments