MCPcopy Create free account
hub / github.com/pingdotgg/t3code / nonEmptyString

Function nonEmptyString

apps/server/src/sourceControl/gitHubAuthStatus.ts:33–36  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

31}
32
33function nonEmptyString(value: string): string | null {
34 const trimmed = value.trim();
35 return trimmed.length > 0 ? trimmed : null;
36}
37
38export function parseGitHubAuthStatus(text: string): GitHubAuthStatus {
39 return Option.match(decodeGitHubAuthStatusJson(text), {

Callers 1

parseGitHubAuthStatusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected