MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / findByNameAndNamespace

Method findByNameAndNamespace

src/app/repo/scripts.ts:183–187  ·  view source on GitHub ↗
(name: string, namespace: string)

Source from the content-addressed store, hash-verified

181 }
182
183 public findByNameAndNamespace(name: string, namespace: string) {
184 return this.findOne((key, value) => {
185 return value.name === name && (!namespace || value.namespace === namespace);
186 });
187 }
188
189 public findByUUIDAndSubscribeUrl(uuid: string, suburl: string) {
190 return this.findOne((key, value) => {

Callers 3

saveFunction · 0.80
prepareScriptByCodeFunction · 0.80
isInstalledMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected