MCPcopy Index your code
hub / github.com/nodejs/node / unique_paths

Function unique_paths

deps/libffi/preprocess_asm.py:60–68  ·  view source on GitHub ↗
(paths)

Source from the content-addressed store, hash-verified

58
59
60def unique_paths(paths):
61 seen = set()
62 result = []
63 for path in paths:
64 if path in seen:
65 continue
66 seen.add(path)
67 result.append(path)
68 return result
69
70
71def preprocess(args):

Callers 1

preprocessFunction · 0.85

Calls 3

addMethod · 0.65
setFunction · 0.50
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…