MCPcopy Create free account
hub / github.com/apache/solr / cygwinifyPaths

Function cygwinifyPaths

dev-tools/scripts/smokeTestRelease.py:484–491  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

482 versionTuple = versionTuple[:-2] + ('100',)
483 elif versionTuple[-1].lower()[:2] == 'rc':
484 versionTuple = versionTuple[:-2] + (versionTuple[-1][2:],)
485 return tuple(int(x) if x is not None and x.isnumeric() else x for x in versionTuple)
486
487
488reUnixPath = re.compile(r'\b[a-zA-Z_]+=(?:"(?:\\"|[^"])*"' + '|(?:\\\\.|[^"\'\\s])*' + r"|'(?:\\'|[^'])*')" \
489 + r'|(/(?:\\.|[^"\'\s])*)' \
490 + r'|("/(?:\\.|[^"])*")' \
491 + r"|('/(?:\\.|[^'])*')")
492
493
494def unix2win(matchobj):

Callers 1

runFunction · 0.85

Calls 1

subMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…