MCPcopy Create free account
hub / github.com/Noumena-Network/code / hasParentPath

Function hasParentPath

src/utils/filePersistence/outputsScanner.ts:44–48  ·  view source on GitHub ↗
(
  entry: object,
)

Source from the content-addressed store, hash-verified

42}
43
44function hasParentPath(
45 entry: object,
46): entry is { parentPath: string; name: string } {
47 return 'parentPath' in entry && typeof entry.parentPath === 'string'
48}
49
50function hasPath(entry: object): entry is { path: string; name: string } {
51 return 'path' in entry && typeof entry.path === 'string'

Callers 1

getEntryParentPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected