equal
deleted
inserted
replaced
150 return self._size |
150 return self._size |
151 |
151 |
152 def v1_mtime(self): |
152 def v1_mtime(self): |
153 """return a "mtime" suitable for v1 serialization""" |
153 """return a "mtime" suitable for v1 serialization""" |
154 return self._mtime |
154 return self._mtime |
|
155 |
|
156 def need_delay(self, now): |
|
157 """True if the stored mtime would be ambiguous with the current time""" |
|
158 return self._state == b'n' and self._mtime == now |
155 |
159 |
156 |
160 |
157 def gettype(q): |
161 def gettype(q): |
158 return int(q & 0xFFFF) |
162 return int(q & 0xFFFF) |
159 |
163 |