MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / getFileArgs

Function getFileArgs

compile_database.py:106–111  ·  view source on GitHub ↗
(path, cache)

Source from the content-addressed store, hash-verified

104
105# Use file content as command line arguments, will perform shell word splitting
106def getFileArgs(path, cache) -> List[str]:
107 files = cache.get(path)
108 if files is None:
109 files = readFileArgs(path)
110 cache[path] = files
111 return files
112
113
114def filterFlags(items, fileCache):

Callers 2

filterFlagsFunction · 0.85
__init__Method · 0.85

Calls 2

readFileArgsFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected