MCPcopy Create free account
hub / github.com/UnsignedInt8/LightSword / updateUser

Method updateUser

server/app.ts:50–55  ·  view source on GitHub ↗
(port: number, options: UpdateServerOptions)

Source from the content-addressed store, hash-verified

48 }
49
50 public static updateUser(port: number, options: UpdateServerOptions) {
51 if (!App.Users.has(port)) return false;
52
53 App.Users.get(port).updateConfiguration(options);
54 return true;
55 }
56
57 public static removeUser(port) {
58 if (!App.Users.has(port)) return false;

Callers 1

updateUserFunction · 0.80

Calls 3

hasMethod · 0.80
updateConfigurationMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected