Browse Source

Define flag constants.

Jelmer Vernooij 7 năm trước cách đây
mục cha
commit
a169f64b2f
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      dulwich/index.py

+ 5 - 0
dulwich/index.py

@@ -48,6 +48,11 @@ IndexEntry = collections.namedtuple(
         'flags'])
 
 
+FLAG_STAGEMASK = 0x3000
+FLAG_VALID = 0x8000
+FLAG_EXTENDED = 0x4000
+
+
 def pathsplit(path):
     """Split a /-delimited path into a directory part and a basename.