MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getEntryParentPath

Function getEntryParentPath

src/utils/filePersistence/outputsScanner.ts:43–51  ·  view source on GitHub ↗
(entry: object, fallback: string)

Source from the content-addressed store, hash-verified

41}
42
43function getEntryParentPath(entry: object, fallback: string): string {
44 if (hasParentPath(entry)) {
45 return entry.parentPath
46 }
47 if (hasPath(entry)) {
48 return entry.path
49 }
50 return fallback
51}
52
53/**
54 * Find files that have been modified since the turn started.

Callers 1

findModifiedFilesFunction · 0.85

Calls 2

hasParentPathFunction · 0.85
hasPathFunction · 0.85

Tested by

no test coverage detected