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-09-11 20:02:41 -04:00
2020-09-10 18:53:20 -07:00
2020-09-08 13:04:14 -04:00
2020-09-07 20:44:01 +03:00
2020-09-03 15:05:47 +03:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-08-22 12:45:29 -07:00
2020-09-04 12:48:36 +02:00
2020-09-11 22:32:23 +02:00
2020-09-04 22:49:14 +03:00
2020-08-20 16:07:04 -04:00