Derrick Hammer
|
c3a696138a
|
refactor: move directoryReferenceMap and fileReferenceMap to its own file
|
2024-01-05 04:43:46 -05:00 |
Derrick Hammer
|
d39f959e31
|
fix: ensure we always serialize an empty map if nil
|
2024-01-05 04:35:20 -05:00 |
Derrick Hammer
|
15030b6866
|
refactor: use a linked hash map to keep order of file and directory entries, and refactor the json and msgpack marshalling and centralize it further
|
2024-01-05 03:46:08 -05:00 |
Derrick Hammer
|
261c88b568
|
fix: don't call encode inside EncodeMsgpack, ensure its delegated to the custom marshalers
|
2024-01-04 13:49:07 -05:00 |
Derrick Hammer
|
c5c4bbfb6e
|
fix: missing return Encode
|
2024-01-04 13:48:17 -05:00 |
Derrick Hammer
|
2ac5ff60be
|
refactor: need to abstract DirectoryMetadata maps to their own types to properly handle msgpack serialization
|
2024-01-04 12:41:39 -05:00 |
Derrick Hammer
|
9f2e17bf54
|
refactor: centralize code more
|
2024-01-04 10:50:08 -05:00 |
Derrick Hammer
|
df4cadf797
|
refactor: put shared serialization code in private encode method, and update json and msgpack to use it
|
2024-01-04 10:33:57 -05:00 |
Derrick Hammer
|
c5441b2e16
|
chore: remove commented code
|
2024-01-04 10:27:56 -05:00 |
Derrick Hammer
|
bd3cbc694f
|
fix: wrong json name for PlaintextCID
|
2024-01-04 10:27:23 -05:00 |
Derrick Hammer
|
53af084864
|
refactor: update ExtraMetadata MarshalJSON and add UnmarshalJSON
|
2024-01-04 10:26:44 -05:00 |
Derrick Hammer
|
d907fddde8
|
fix: need to cast to Base64UrlBinary
|
2024-01-04 08:57:58 -05:00 |
Derrick Hammer
|
c2ed126ab8
|
feat: wip directory metadata
|
2024-01-04 08:20:37 -05:00 |