MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / RenderUpToDate

Function RenderUpToDate

tui/update.go:42–45  ·  view source on GitHub ↗
(version string)

Source from the content-addressed store, hash-verified

40}
41
42func RenderUpToDate(version string) string {
43 InitCommonStyles(os.Stdout)
44 return SuccessStyle().Render(fmt.Sprintf("✓ tnr is already up-to-date (%s)", version))
45}
46
47func RenderUpdateAvailable(currentVer, latestVer string) string {
48 InitCommonStyles(os.Stdout)

Callers 2

runUpdateCommandFunction · 0.92
TestTUIRenderUpToDateFunction · 0.92

Calls 2

InitCommonStylesFunction · 0.85
SuccessStyleFunction · 0.85

Tested by 1

TestTUIRenderUpToDateFunction · 0.74