MCPcopy Create free account
hub / github.com/nodejs/node / globify

Function globify

deps/npm/lib/commands/help.js:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const BaseCommand = require('../base-cmd.js')
9
10const globify = pattern => pattern.split('\\').join('/')
11
12// Strips out the number from foo.7 or foo.7. or foo.7.tgz
13// We don't currently compress our man pages but if we ever did this would seamlessly continue supporting it

Callers 2

completionMethod · 0.70
execMethod · 0.70

Calls 2

joinMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected