MCPcopy
hub / github.com/inkeep/open-knowledge / getActiveBranch

Function getActiveBranch

packages/server/src/persistence.ts:255–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255export function getActiveBranch(): string {
256 return activeBranch;
257}
258
259export function getReconciledBase(docName: string): string | undefined {
260 return reconciledBaseByBranch.get(activeBranch)?.get(docName);

Callers 7

createApiExtensionFunction · 0.90
createServerFunction · 0.90
onAuthenticateFunction · 0.90
initAsyncFunction · 0.90
deferStoreFunction · 0.85
flushDeferredStoresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected