MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / hasPath

Function hasPath

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

Source from the content-addressed store, hash-verified

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

Callers 1

getEntryParentPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected