Andrew Kelley
1baa56a25f
std.cache_hash: break up the API and improve implementation
...
into smaller exposed components and expose all of them. This makes it
more flexible.
`*const Cache` is now passed in with an open manifest dir handle which
the caller is responsible for managing.
Expose some of the base64 stuff.
Extract the hash helper functions into `HashHelper` and add some more
methods such as addOptional and addListOfFiles.
Add `CacheHash.toOwnedLock` so that you can deinitialize everything
except the open file handle which represents the file system lock on the
build artifacts.
Use ArrayListUnmanaged, saving space per allocated CacheHash.
Avoid 1 memory allocation in hit() with a static buffer.
hit() returns a bool; caller code is responsible for calling final() in
either case. This is a simpler and easier to use API.
writeManifest() is no longer called from deinit() with errors ignored.
2020-09-13 18:04:52 -07:00
..
2020-08-20 16:07:04 -04:00
2020-08-20 19:21:10 -04:00
2020-08-24 17:59:44 +02:00
2020-09-11 20:02:41 -04:00
2020-09-08 12:54:28 -04:00
2020-09-03 18:10:40 +03:00
2020-09-10 15:40:38 -04:00
2020-09-05 13:58:02 +03:00
2020-09-10 18:53:20 -07:00
2020-09-03 18:10:40 +03:00
2020-09-08 13:04:14 -04:00
2020-09-02 00:17:50 +02:00
2020-09-03 18:10:40 +03:00
2020-08-20 16:07:04 -04:00
2020-09-07 20:44:01 +03:00
2020-09-06 01:16:33 -04:00
2020-09-02 00:17:59 -04:00
2020-08-20 16:07:04 -04:00
2020-09-11 22:32:23 +02:00
2020-08-20 16:07:04 -04:00
2020-09-10 15:56:27 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-03 15:05:47 +03:00
2020-09-02 00:17:50 +02:00
2020-08-20 16:07:04 -04:00
2020-09-02 11:11:57 +02:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-21 00:51:14 +02:00
2020-08-20 16:07:04 -04:00
2020-09-02 00:17:50 +02:00
2020-09-11 16:07:13 -04:00
2020-09-02 00:17:59 -04:00
2020-09-11 22:32:23 +02:00
2020-09-13 18:04:52 -07:00
2020-09-06 18:25:33 -04:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-08-20 16:07:04 -04:00
2020-08-22 02:47:50 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-22 12:45:29 -07:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-05 13:58:02 +03:00
2020-09-04 12:48:36 +02:00
2020-09-09 00:33:14 -04:00
2020-08-22 02:47:50 -04:00
2020-09-06 01:16:33 -04:00
2020-08-20 16:07:04 -04:00
2020-08-31 23:39:50 +10:00
2020-08-20 16:07:04 -04:00
2020-08-22 02:47:39 -04:00
2020-09-04 13:00:10 -07:00
2020-09-08 20:55:06 +02:00
2020-09-03 18:10:40 +03:00
2020-09-03 18:10:40 +03:00
2020-09-03 14:11:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-03 13:57:08 -04:00
2020-08-20 16:07:04 -04:00
2020-09-11 22:32:23 +02:00
2020-08-20 16:07:04 -04:00
2020-09-04 22:49:14 +03:00
2020-09-10 12:00:53 +03:00
2020-09-10 14:30:07 -04:00
2020-09-03 18:07:30 -04:00
2020-09-03 18:10:40 +03:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-10 15:56:27 -04:00
2020-09-07 14:59:46 -07:00
2020-09-09 09:28:05 -07:00
2020-08-20 16:07:04 -04:00
2020-09-03 18:10:40 +03:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-09 09:28:05 -07:00