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

Function globify

deps/npm/lib/utils/get-workspaces.js:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6// minimatch wants forward slashes only for glob patterns
7const globify = pattern => pattern.split('\\').join('/')
8
9// Returns an Map of paths to workspaces indexed by workspace name
10// { foo => '/path/to/foo' }

Callers 1

getWorkspacesFunction · 0.70

Calls 2

joinMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…