MCPcopy
hub / github.com/WebODM/WebODM / scan_images

Method scan_images

app/models/task.py:1556–1561  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1554 raise
1555
1556 def scan_images(self):
1557 tp = self.task_path()
1558 try:
1559 return [e.name for e in os.scandir(tp) if e.is_file()]
1560 except:
1561 return []
1562
1563 def get_image_path(self, filename):
1564 p = self.task_path(filename)

Callers 8

processMethod · 0.95
compactMethod · 0.95
test_taskMethod · 0.80
update_images_countFunction · 0.80
commitMethod · 0.80
uploadMethod · 0.80
createMethod · 0.80

Calls 1

task_pathMethod · 0.95

Tested by 1

test_taskMethod · 0.64