MCPcopy Create free account
hub / github.com/Robbyant/lingbot-map / _normalize_ext

Function _normalize_ext

demo_render/batch_demo.py:211–215  ·  view source on GitHub ↗
(ext)

Source from the content-addressed store, hash-verified

209
210
211def _normalize_ext(ext):
212 ext = ext.strip()
213 if not ext:
214 return ext
215 return ext if ext.startswith(".") else f".{ext}"
216
217
218def list_image_paths(image_folder, image_ext):

Callers 2

list_image_pathsFunction · 0.85
find_image_folderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected