MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / pkg_from_file

Function pkg_from_file

tools/donate-cpu-server.py:80–81  ·  view source on GitHub ↗
(filename: str)

Source from the content-addressed store, hash-verified

78
79
80def pkg_from_file(filename: str) -> str:
81 return filename[filename.rfind('/')+1:]
82
83
84def overviewReport() -> str:

Callers 4

latestReportFunction · 0.85
crashReportFunction · 0.85
timeoutReportFunction · 0.85
staleReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected