Add TrackingSet method

This method reduces the likelihood of a race condition where
you can add a (tracked) item to the cache, and the item isn't
the item you thought it was.
This commit is contained in:
Sargun Dhillon
2020-08-13 10:43:38 -07:00
parent e9b7be5016
commit df91803297
9 changed files with 36 additions and 20 deletions

View File

@@ -1,8 +1,9 @@
package ccache
import (
. "github.com/karlseguin/expect"
"testing"
. "github.com/karlseguin/expect"
)
type ConfigurationTests struct{}