MCPcopy Index your code
hub / github.com/massCodeIO/massCode / trimToValue

Function trimToValue

src/main/api/routes/captures.ts:76–79  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

74}
75
76function trimToValue(value?: string): string | undefined {
77 const trimmed = value?.trim()
78 return trimmed || undefined
79}
80
81function getUrlHost(url?: string): string | undefined {
82 if (!url) {

Callers 7

resolveCaptureNameFunction · 0.70
createSourceDescriptionFunction · 0.70
getMarkdownFenceLanguageFunction · 0.70
createNoteContentFunction · 0.70
createCodeCaptureFunction · 0.70
createHttpCaptureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected