MCPcopy
hub / github.com/Chalarangelo/30-seconds-of-code / scope

Method scope

src/core/model.js:77–79  ·  view source on GitHub ↗
(...scopes)

Source from the content-addressed store, hash-verified

75 }
76
77 static scope(...scopes) {
78 return scopes.reduce((acc, scope) => this[scope](acc), this.all);
79 }
80
81 static find(id) {
82 return Model.indexedInstances[this.name].id.get(id);

Callers 15

urlsMethod · 0.80
generateMethod · 0.80
nodesMethod · 0.80
generateSnippetPagesMethod · 0.80
snippetsWithoutEmbedMethod · 0.80
prepareDocumentIndexMethod · 0.80
featuredCollectionsMethod · 0.80
featuredSnippetsMethod · 0.80
seoDescriptionMethod · 0.80
announcementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected