Commit Graph

3 Commits

Author SHA1 Message Date
Giuseppe Scrivano a50bb95770
chunked: support writing files in a flat dir format
so that they can be stored by their digest

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-07-04 17:45:41 +02:00
Nalin Dahyabhai 14e95ef777 Don't try to use %w in testing package logging functions
Go 1.18's testing package is adamant that it doesn't support the %w
specifier for wrapping errors, which makes sense because it outputs
text rather than producing an error object like fmt.Errorf() does.
Change attempts to use %w to %v.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2022-06-01 10:55:08 -04:00
Giuseppe Scrivano fd89b93ef3
chunked: add tests for the cache
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2022-01-13 13:32:13 +01:00