MCPcopy Create free account
hub / github.com/Effect-TS/effect / pathName

Function pathName

packages/tools/api-diff/src/Diff.ts:18–18  ·  view source on GitHub ↗
(entity: ApiEntity)

Source from the content-addressed store, hash-verified

16}
17
18const pathName = (entity: ApiEntity): string => entity.path.at(-1) ?? ""
19
20const levenshtein = (left: string, right: string): number => {
21 const row = Array.from({ length: right.length + 1 }, (_, index) => index)

Callers 1

movementChangeFunction · 0.85

Calls 1

atMethod · 0.65

Tested by

no test coverage detected