MCPcopy Index your code
hub / github.com/apache/pouchdb / parseDesignDocFunctionName

Function parseDesignDocFunctionName

lib/index-browser.js:654–666  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

652}
653
654function parseDesignDocFunctionName(s) {
655 if (!s) {
656 return null;
657 }
658 var parts = s.split('/');
659 if (parts.length === 2) {
660 return parts;
661 }
662 if (parts.length === 1) {
663 return [s, s];
664 }
665 return null;
666}
667
668function normalizeDesignDocFunctionName(s) {
669 var normalized = parseDesignDocFunctionName(s);

Callers 2

filterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…