MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / marshalBool

Function marshalBool

packages/backend/src/utils.ts:22–24  ·  view source on GitHub ↗
(value?: boolean)

Source from the content-addressed store, hash-verified

20}
21
22export const marshalBool = (value?: boolean) => {
23 return !!value ? '1' : '0';
24}
25
26export const resolvePathRelativeToConfig = (localPath: string, configPath: string) => {
27 let absolutePath = localPath;

Callers 7

createGitHubRepoRecordFunction · 0.85
compileGitlabConfigFunction · 0.85
compileGiteaConfigFunction · 0.85
compileGerritConfigFunction · 0.85
compileBitbucketConfigFunction · 0.85
compileAzureDevOpsConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected