MCPcopy Create free account
hub / github.com/openclaw/gogcli / testSystemLayout

Function testSystemLayout

internal/secrets/test_helpers_test.go:12–21  ·  view source on GitHub ↗
(tb testing.TB, kinds ...config.PathKind)

Source from the content-addressed store, hash-verified

10)
11
12func testSystemLayout(tb testing.TB, kinds ...config.PathKind) config.Layout {
13 tb.Helper()
14
15 layout, err := config.NewSystemResolver("").Resolve(kinds...)
16 if err != nil {
17 tb.Fatalf("resolve test layout: %v", err)
18 }
19
20 return layout
21}
22
23func openSystemTestStore(tb testing.TB) Repository {
24 tb.Helper()

Calls 2

NewSystemResolverFunction · 0.92
ResolveMethod · 0.45

Tested by

no test coverage detected