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

Function getHistoryFilePath

packages/cli/src/ui/hooks/useShellHistory.ts:24–27  ·  view source on GitHub ↗
(projectRoot: string)

Source from the content-addressed store, hash-verified

22}
23
24async function getHistoryFilePath(projectRoot: string): Promise<string> {
25 const historyDir = getProjectTempDir(projectRoot);
26 return path.join(historyDir, HISTORY_FILE);
27}
28
29// Handle multiline commands
30async function readHistoryFile(filePath: string): Promise<string[]> {

Callers 1

loadHistoryFunction · 0.85

Calls 1

getProjectTempDirFunction · 0.85

Tested by

no test coverage detected