pkg-proxy/internal/storage
Andrew Nesbitt 24d5e77443
Fix cross-device link error when running in Docker with volumes (#66)
`fileblob` creates temp files in `os.TempDir()` (`/tmp`) by default,
then uses `os.Rename` to move them to the final path. When the storage
directory is on a different filesystem (e.g. a Docker volume mount at
`/data`), the rename fails with "invalid cross-device link".

Set `no_tmp_dir=true` on file:// bucket URLs so fileblob creates temp
files next to the final destination instead.

Fixes #65
2026-04-06 13:07:31 +01:00
..
blob.go Fix cross-device link error when running in Docker with volumes (#66) 2026-04-06 13:07:31 +01:00
blob_test.go Fix cross-device link error when running in Docker with volumes (#66) 2026-04-06 13:07:31 +01:00
filesystem.go Fix startup message and add connectivity check for S3 storage (#57) 2026-04-03 14:06:51 +01:00
filesystem_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00
storage.go Fix startup message and add connectivity check for S3 storage (#57) 2026-04-03 14:06:51 +01:00
storage_test.go Fix all golangci-lint issues across the codebase (#32) 2026-03-18 10:59:29 +00:00