forgejo-runner-act/pkg/artifactcache
Jason Song 71cfa868fa
Support overwriting caches (#2265)
* feat: support overwrite caches

* test: fix case

* test: fix get_with_multiple_keys

* chore: use atomic.Bool

* test: improve get_with_multiple_keys

* chore: use ping to improve path

* fix: wrong CompareAndSwap

* test: TestHandler_gcCache

* chore: lint code

* chore: lint code

(cherry picked from commit b9382a2c4e6801d136c246a7e30e7ceafaad3ade)
2024-11-07 16:25:26 +01:00
..
testdata/example Support cache (#1770) 2023-04-28 15:57:40 +00:00
doc.go Support cache (#1770) 2023-04-28 15:57:40 +00:00
handler.go Support overwriting caches (#2265) 2024-11-07 16:25:26 +01:00
handler_test.go Support overwriting caches (#2265) 2024-11-07 16:25:26 +01:00
model.go Support overwriting caches (#2265) 2024-11-07 16:25:26 +01:00
storage.go fix: handle zero size (#1888) 2023-07-10 20:35:27 -07:00