MCPcopy
hub / github.com/mudler/LocalAI / WithBackendPath

Function WithBackendPath

pkg/system/state.go:37–41  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

35type SystemStateOptions func(*SystemState)
36
37func WithBackendPath(path string) SystemStateOptions {
38 return func(s *SystemState) {
39 s.Backend.BackendsPath = path
40 }
41}
42
43func WithBackendSystemPath(path string) SystemStateOptions {
44 return func(s *SystemState) {

Callers 15

app_test.goFile · 0.92
settings_test.goFile · 0.92
pii_test.goFile · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92
RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected