MCPcopy Create free account
hub / github.com/nodejs/node / files_from_relative_args

Function files_from_relative_args

deps/v8/tools/testrunner/local/command.py:420–425  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

418
419
420def files_from_relative_args(args):
421 files_to_push = []
422 for f in ([Path(arg) for arg in args] or []):
423 if f.exists():
424 files_to_push.append(f.absolute())
425 return files_to_push
426
427
428Command = None

Callers 1

__init__Method · 0.85

Calls 2

existsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected