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

Method removeUser

server/app.ts:57–63  ·  view source on GitHub ↗
(port)

Source from the content-addressed store, hash-verified

55 }
56
57 public static removeUser(port) {
58 if (!App.Users.has(port)) return false;
59
60 let server = App.Users.get(port);
61 server.stop();
62 return true;
63 }
64}
65
66if (!module.parent) {

Callers 1

deleteUserFunction · 0.80

Calls 3

hasMethod · 0.80
stopMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected