MCPcopy
hub / github.com/ddworken/hishtory / String

Method String

shared/version.go:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func (pv ParsedVersion) String() string {
36 return fmt.Sprintf("v%d.%d", pv.MajorVersion, pv.MinorVersion)
37}
38
39func ParseVersionString(versionString string) (ParsedVersion, error) {
40 re := regexp.MustCompile(`v(\d+)[.](\d+)`)

Callers 15

installFromPrevFunction · 0.80
testInitialHistoryImportFunction · 0.80
testLocalRedactionFunction · 0.80
testRemoteRedactionFunction · 0.80
UpdateMethod · 0.80
SetConfigFunction · 0.80
BuildTableRowFunction · 0.80
ImportHistoryFunction · 0.80
ApiGetFunction · 0.80

Calls

no outgoing calls

Tested by 13

installFromPrevFunction · 0.64
testInitialHistoryImportFunction · 0.64
testLocalRedactionFunction · 0.64
testRemoteRedactionFunction · 0.64
TestLoggerMiddlewareFunction · 0.64
TestMergeMiddlewaresFunction · 0.64
TestESubmitThenQueryFunction · 0.64
TestDeletionRequestsFunction · 0.64
TestLimitRegistrationsFunction · 0.64