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

Method get

compile_database.py:216–219  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

214 self.file_info[filekey(file)] = command
215
216 def get(self, filename):
217 if command := self.file_info.get(filename.lower()):
218 # xcode 12 escape =, but not recognized...
219 return command.replace("\\=", "=")
220
221 def groupby_dir(self) -> dict[str, set[str]]:
222 if self.dir_info is None: # lazy index dir and cmd

Callers 15

parse_cMethod · 0.80
identifierFunction · 0.80
get_new_itemFunction · 0.80
update_check_timeMethod · 0.80
serveFunction · 0.80
findAllHeaderDirectoryFunction · 0.80
getFileArgsFunction · 0.80
__init__Method · 0.80
new_fileMethod · 0.80
commandForFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected