MCPcopy Create free account
hub / github.com/anus-dev/ANUS / initialize

Method initialize

packages/core/src/services/gitService.ts:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 }
27
28 async initialize(): Promise<void> {
29 const gitAvailable = await this.verifyGitAvailability();
30 if (!gitAvailable) {
31 throw new Error(
32 'Checkpointing is enabled, but Git is not installed. Please install Git or disable checkpointing to continue.',
33 );
34 }
35 this.setupShadowGitRepository();
36 }
37
38 verifyGitAvailability(): Promise<boolean> {
39 return new Promise((resolve) => {

Callers

nothing calls this directly

Calls 2

verifyGitAvailabilityMethod · 0.95

Tested by

no test coverage detected