Pārlūkot izejas kodu

Define flag constants.

Jelmer Vernooij 7 gadi atpakaļ
vecāks
revīzija
a169f64b2f
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  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.