MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / deleteInstance

Method deleteInstance

panel/src/app/service/user_service.ts:165–170  ·  view source on GitHub ↗
(uuid: string)

Source from the content-addressed store, hash-verified

163 }
164
165 async deleteInstance(uuid: string) {
166 if (this.hasInstance(uuid)) {
167 this.objects.delete(uuid);
168 await Storage.getStorage().delete("User", uuid);
169 }
170 }
171
172 getUserBySsoSub(ssoSub: string): User | null {
173 for (const [, user] of this.objects) {

Callers 2

deleteRemoteServiceMethod · 0.45

Calls 3

hasInstanceMethod · 0.95
getStorageMethod · 0.80
deleteMethod · 0.65

Tested by

no test coverage detected