sapling/eden/py
Matt Glazar afde763cdb Improve typing of dirstate read and write functions
Summary:
* Add type annotations to struct.unpack results to prevent leaking Any.
* Make the type signature for read and write as similar as possible (without changing behavior). This will help a future diff (D10224078) which makes the signatures match exactly.

This diff should not change behavior.

Reviewed By: chadaustin

Differential Revision: D10224079

fbshipit-source-id: 5d43d6fbbc989f71dae006dc3d378600d49272d3
2018-10-08 15:14:44 -07:00
..
test Add regression tests for dirstate serializer and deserializer 2018-10-08 13:49:53 -07:00
dirstate.py Improve typing of dirstate read and write functions 2018-10-08 15:14:44 -07:00