Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ TestSet
Function
TestSet
pkg/cache/driver_test.go:8–12 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
6
)
7
8
func
TestSet(t *testing.T) {
9
asserts := assert.New(t)
10
11
asserts.NoError(Set(
"123"
,
"321"
, -1))
12
}
13
14
func
TestGet(t *testing.T) {
15
asserts := assert.New(t)
Callers
nothing calls this directly
Calls
2
Set
Function · 0.85
New
Method · 0.65
Tested by
no test coverage detected