Dietrich Epp
dd96385d7c
Style: Use trailing commas for enums
...
The trailing comma is supported in MPW and GCC. It fixes the formatting
issue with clang-format and makes cleaner diffs, so trailing commas have
been added to enums and clang-format has been run over the sources.
2022-04-10 03:51:59 -04:00
Dietrich Epp
75f1908690
Add CRC-32 function
2022-04-10 03:37:14 -04:00
Dietrich Epp
70abe95ff1
Create a tree structure for storing file metadata
...
This adds a a "simple" red-black tree that can store a record of each
file both on the local and remote side.
2022-03-30 05:23:37 -04:00
Dietrich Epp
56c8229dd5
Annotate test size
2022-03-30 05:18:21 -04:00
Dietrich Epp
c4bf86786e
Reorganize
...
- Extracted functions to //lib:test for writing tests
- Extracted functions to lib/util.h if they are useful outside tests
2022-03-30 03:46:19 -04:00
Dietrich Epp
d980169ec6
Add byte order conversion utilities
2022-03-29 15:34:27 -04:00
Dietrich Epp
8e2efa707e
Refactor allocation API
...
This way we don't need to expose MemError() to platform-independent
code.
2022-03-25 13:33:24 -04:00
Dietrich Epp
617bf831d8
Extract common code into //lib package
2022-03-25 01:45:55 -04:00