Procs
proc sanitizePath(path: string; noQuote = false; sep = $'/'): string {...}{.raises: [], tags: [].}
proc getCurrentNimCompiler(): string {...}{.raises: [], tags: [].}
proc compareVersions(ver1, ver2: string): int {...}{.raises: [], tags: [].}
-
Compare two version strings x.y.z and return -1, 0, 1
ver1 < ver2 = -1 ver1 = ver2 = 0 ver1 > ver2 = 1
proc fixCmd(cmd: string): string {...}{.raises: [], tags: [].}