MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / triggerCopyover

Function triggerCopyover

copyover.go:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10)
11
12func triggerCopyover() error {
13 binaryPath, err := os.Executable()
14 if err != nil {
15 return err
16 }
17
18 serverAlive.Store(false)
19
20 rooms.SaveAllRooms()
21 users.SaveAllUsers()
22 plugins.Save()
23
24 return copyover.Execute(binaryPath, os.Args[1:])
25}

Callers 1

Calls 5

SaveAllRoomsFunction · 0.92
SaveAllUsersFunction · 0.92
SaveFunction · 0.92
ExecuteFunction · 0.92
StoreMethod · 0.80

Tested by

no test coverage detected