aboutsummaryrefslogtreecommitdiff
path: root/src/metainfo.zig
AgeCommit message (Collapse)Author
2023-11-11Don't hex the hashMartin Ashby
2023-11-11Include ownership info on BValue.Martin Ashby
It's a bit cumbersome, but it caters for the two situations: a. parsing from a stream where strings must be copied into the structure and owned, and b. constructing from application code where strings must _not_ be freed. Either way, the base structures (array list, hash map) are always owned and must be freed. Add method and test for info hash
2023-11-11Extend meta info file parsingMartin Ashby
2023-11-11Add basic meta info file parsingMartin Ashby