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

Function hasPath

src/utils/filePersistence/outputsScanner.ts:39–41  ·  view source on GitHub ↗
(entry: object)

Source from the content-addressed store, hash-verified

37}
38
39function hasPath(entry: object): entry is { path: string; name: string } {
40 return 'path' in entry && typeof entry.path === 'string'
41}
42
43function getEntryParentPath(entry: object, fallback: string): string {
44 if (hasParentPath(entry)) {

Callers 1

getEntryParentPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected