2 Commits

Author SHA1 Message Date
Julio López
961a39039b refactor(general): use errors.New where appropriate (#4160)
Replaces 'errors.Errorf\("([^"]+)"\)' => 'errors.New("\1")'
2024-10-05 19:05:00 -07:00
Jarek Kowalski
9cb2a40816 feat(providers): improved sharded directory creation (#1665)
When a sharded directory is missing do not attempt to create all
its parents, but only children of the repository root.

This way when a top-level directory is unmounted, we won't recreate
it unnecessarily.

This is implemented for filesystem and SFTP providers.
2022-01-23 14:56:35 -08:00