MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / parsePath

Function parsePath

06.Router/basic/js/vue.js:2722–2731  ·  view source on GitHub ↗

* External parse that check for a cache hit first * * @param {String} path * @return {Array|undefined}

(path)

Source from the content-addressed store, hash-verified

2720 */
2721
2722 function parsePath(path) {
2723 var hit = pathCache.get(path);
2724 if (!hit) {
2725 hit = parse(path);
2726 if (hit) {
2727 pathCache.put(path, hit);
2728 }
2729 }
2730 return hit;
2731 }
2732
2733 /**
2734 * Get from an object from a path string

Callers 1

compileSetterFunction · 0.70

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected