MCPcopy Create free account
hub / github.com/Azure/powershell / parseComparator

Function parseComparator

lib/index.js:6337–6348  ·  view source on GitHub ↗
(comp, options)

Source from the content-addressed store, hash-verified

6335// already replaced the hyphen ranges
6336// turn into a set of JUST comparators.
6337function parseComparator (comp, options) {
6338 debug('comp', comp, options)
6339 comp = replaceCarets(comp, options)
6340 debug('caret', comp)
6341 comp = replaceTildes(comp, options)
6342 debug('tildes', comp)
6343 comp = replaceXRanges(comp, options)
6344 debug('xrange', comp)
6345 comp = replaceStars(comp, options)
6346 debug('stars', comp)
6347 return comp
6348}
6349
6350function isX (id) {
6351 return !id || id.toLowerCase() === 'x' || id === '*'

Callers 1

index.jsFile · 0.85

Calls 5

debugFunction · 0.85
replaceCaretsFunction · 0.85
replaceTildesFunction · 0.85
replaceXRangesFunction · 0.85
replaceStarsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…