MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / parseScoped

Function parseScoped

tests/helpers/fixturify-project.js:50–59  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

48// Essentially a copy of the function in node-fixturify-project, converted from TS to JS.
49// We need this for use during toJSON().
50function parseScoped(name) {
51 let matched = name.match(/(@[^@/]+)\/(.*)/);
52 if (matched) {
53 return {
54 scope: matched[1],
55 name: matched[2],
56 };
57 }
58 return null;
59}
60
61module.exports = class EmberCLIFixturifyProject extends FixturifyProject {
62 writeSync() {

Callers 1

toJSONMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…