MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / normalizeVersion

Function normalizeVersion

apps/desktop/main/runtime-compat.ts:46–48  ·  view source on GitHub ↗
(version: string | null | undefined)

Source from the content-addressed store, hash-verified

44}
45
46function normalizeVersion(version: string | null | undefined): string {
47 return typeof version === 'string' ? version.trim() : ''
48}
49
50function formatDesktopDataDirCompatibilityError(error: DataDirCompatibilityError, runtime: RuntimeIdentity): string {
51 return [

Callers 1

resolveDesktopAppVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected