MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / strip_prefix

Function strip_prefix

scripts/generate_build_files.py:278–279  ·  view source on GitHub ↗
(filename, prefix = "src/")

Source from the content-addressed store, hash-verified

276 # -------------------------------------
277
278 def strip_prefix(filename, prefix = "src/"):
279 return filename[len(prefix):] if filename.startswith(prefix) else filename
280
281 graph_files = sorted([strip_prefix(path, "src/") for path in graph_files])
282 lib_files_sve = sorted([strip_prefix(path, "src/") for path in lib_files_sve])

Callers 1

gather_sourcesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected