LeRoyce Pearson
|
061c1fd9ab
|
Use readAllAlloc
Now that the memory leak mentioned in #4656 has been fixed.
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
4f709d224a
|
Make hash digest same size as in the c API
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
8e4b80522f
|
Return base64 digest instead of using an out variable
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
e75a6e5144
|
Rename cache_file -> addFile
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
50cbf1f3aa
|
Add slice and array support to add method
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
fde188aadc
|
Make type specific add functions
Basically, move type specific code into their own functions instead
of making `add` a giant function responsible for everything.
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
4173dbdce9
|
Rename cache functions to add
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
27bf1f781b
|
Store fs.Dir instead of path to dir
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
55a3925ab7
|
Rename CacheHashFile -> File
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
c8062321b3
|
Use fs.File
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
86fe88bbcb
|
Use std.fs.base64_encoder in std.cache_hash
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
ce5b2286f1
|
Support caching bools; make caching values infallible
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
de341b8fb8
|
Fix memory leak in cache_hash
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
8a77c1c637
|
Add cache method; add support for caching integers
|
2020-05-25 13:48:43 -04:00 |
|
LeRoyce Pearson
|
3158dc424e
|
Partially implement cache hash API in zig
|
2020-05-25 13:48:43 -04:00 |
|