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

Function SplitPath

tools/test.py:1537–1539  ·  view source on GitHub ↗
(path_arg)

Source from the content-addressed store, hash-verified

1535
1536
1537def SplitPath(path_arg):
1538 stripped = [c.strip() for c in path_arg.split('/')]
1539 return [Pattern(s) for s in stripped if len(s) > 0]
1540
1541def NormalizePath(path, prefix='test/'):
1542 # strip the extra path information of the specified test

Callers 2

ReadConfigurationIntoFunction · 0.85
ArgsToTestPathsFunction · 0.85

Calls 2

PatternClass · 0.70
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…