MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / prependFileUri

Function prependFileUri

python/MaterialXTest/tests_to_html.py:218–222  ·  view source on GitHub ↗
(filepath: str)

Source from the content-addressed store, hash-verified

216 curPath = path1
217
218 def prependFileUri(filepath: str) -> str:
219 if os.path.isabs(filepath):
220 return 'file:///' + filepath
221 else:
222 return filepath
223
224 fh.write("<tr>\n")
225 if fullPath1:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected