MCPcopy
hub / github.com/syncthing/syncthing / init

Function init

lib/api/api_test.go:58–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56)
57
58func init() {
59 dev1, _ = protocol.DeviceIDFromString("AIR6LPZ-7K4PTTV-UXQSMUU-CPQ5YWH-OEDFIIQ-JUG777G-2YQXXR5-YD6AWQR")
60 apiCfg.GUIReturns(config.GUIConfiguration{APIKey: testAPIKey, RawAddress: "127.0.0.1:0"})
61}
62
63func TestMain(m *testing.M) {
64 orig := locations.GetBaseDir(locations.ConfigBaseDir)

Callers

nothing calls this directly

Calls 2

DeviceIDFromStringFunction · 0.92
GUIReturnsMethod · 0.80

Tested by

no test coverage detected