Files
any-hub/internal/cache/doc.go
Rogee 9692219e0f
Some checks failed
docker-release / build-and-push (push) Failing after 10m2s
fix: npm proxy issues
2025-11-14 22:00:04 +08:00

8 lines
467 B
Go

// Package cache defines the disk-backed store responsible for translating hub
// requests into StoragePath/<hub>/<path>.body files. The store exposes read/write
// primitives with safe semantics (temp file + rename) and surfaces file info
// (size, modtime) for higher layers to implement conditional revalidation.
// Proxy handlers depend on this package to stream cached responses or trigger
// upstream fetches without duplicating filesystem logic.
package cache