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

Method getHistoryDir

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

Source from the content-addressed store, hash-verified

21 }
22
23 private getHistoryDir(): string {
24 const hash = getProjectHash(this.projectRoot);
25 return path.join(os.homedir(), ANUS_DIR, 'history', hash);
26 }
27
28 async initialize(): Promise<void> {
29 const gitAvailable = await this.verifyGitAvailability();

Callers 2

shadowGitRepositoryMethod · 0.95

Calls 1

getProjectHashFunction · 0.85

Tested by

no test coverage detected