MCPcopy Create free account
hub / github.com/KartikLabhshetwar/lazycommit / type

Function type

src/utils/config.ts:59–71  ·  view source on GitHub ↗
(type?: string)

Source from the content-addressed store, hash-verified

57 return parsed;
58 },
59 type(type?: string) {
60 if (!type) {
61 return '';
62 }
63
64 parseAssert(
65 'type',
66 commitTypes.includes(type as CommitType),
67 'Invalid commit type'
68 );
69
70 return type as CommitType;
71 },
72 proxy(url?: string) {
73 if (!url || url.length === 0) {
74 return undefined;

Callers

nothing calls this directly

Calls 1

parseAssertFunction · 0.85

Tested by

no test coverage detected