mirror of
https://github.com/project-zot/zot.git
synced 2026-06-18 13:37:57 +08:00
03f6be5702
Guard cache path normalization so rootDir is joined only for truly cache-relative records. This prevents malformed paths like root/root/... when dstRecord already contains rootDir, avoiding stat failures and unnecessary cache churn. Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
zot currently supports two types of underlying filesystems:
-
local - a locally mounted filesystem
-
remote - a remote filesystem such as AWS S3
The cache database can be configured independently of storage. Right now, zot supports the following database implementations:
- BoltDB - local storage. Set the "cloudCache" field in the config file to false. Example: examples/config-boltdb.json