MCPcopy Index your code
hub / github.com/nodejs/node / fromGlob

Method fromGlob

deps/minimatch/index.js:775–779  ·  view source on GitHub ↗
(pattern, options = {})

Source from the content-addressed store, hash-verified

773 this.#emptyExt = false;
774 }
775 static fromGlob(pattern, options = {}) {
776 const ast = new _a(null, void 0, options);
777 _a.#parseAST(pattern, ast, 0, options, 0);
778 return ast;
779 }
780 // returns the regular expression if there's magic, or the unescaped
781 // string if not.
782 toMMPattern() {

Callers 2

fromGlobMethod · 0.45
parseMethod · 0.45

Calls 1

#parseASTMethod · 0.80

Tested by

no test coverage detected