소스 검색

Add note about pathlib.Path.

Jelmer Vernooij 4 년 전
부모
커밋
4ef2bcba99
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CONTRIBUTING.rst

+ 1 - 1
CONTRIBUTING.rst

@@ -39,7 +39,7 @@ bytestrings. It is up to the Dulwich API user to encode and decode them if
 necessary. The porcelain may accept unicode strings and convert them to
 necessary. The porcelain may accept unicode strings and convert them to
 bytestrings as necessary on the fly (using 'utf-8').
 bytestrings as necessary on the fly (using 'utf-8').
 
 
-* on-disk filenames: regular strings
+* on-disk filenames: regular strings, or ideally, pathlib.Path instances
 * git-repository related filenames: bytes
 * git-repository related filenames: bytes
 * object sha1 digests (20 bytes long): bytes
 * object sha1 digests (20 bytes long): bytes
 * object sha1 hexdigests (40 bytes long): str (bytestrings on python2, strings
 * object sha1 hexdigests (40 bytes long): str (bytestrings on python2, strings