MCPcopy Index your code
hub / github.com/VSpaceCode/VSpaceCode / parse

Method parse

src/version.ts:59–62  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

57 }
58
59 static parse(v: string) {
60 const [major, minor, patch] = v.split(".").map((v) => parseInt(v, 10));
61 return new Version(major, minor, patch);
62 }
63}
64
65export enum ComparisonResult {

Callers 7

compareMethod · 0.95
openDocumentationUrlFunction · 0.80
showUpdateMessageFunction · 0.80
httpsGetJsonFunction · 0.80
keybindings.jsFile · 0.80
sort.jsFile · 0.80
jsonc-loader.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected