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

Function identifier

xclog_parser.py:299–302  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

297 # TODO: swiftc模块的增量更新
298 # 根据ident(file属性),增量覆盖更新
299 def identifier(item):
300 if isinstance(item, dict):
301 return item.get("file") or item.get("module_name")
302 return None # other type info without identifier simplely append into file
303
304 with open(database_path, "r+") as f:
305 # try best effort to keep old data

Callers 2

merge_databaseFunction · 0.85
get_new_itemFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected