MCPcopy Index your code
hub / github.com/geekcomputers/Python / sortFiles

Method sortFiles

image2pdf/image2pdf.py:30–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 return item.endswith(self.validFormats)
29
30 def sortFiles(self):
31 return sorted(os.listdir(self.directory))
32
33 def getPictures(self):
34 pictures = list(filter(self.filter, self.sortFiles()))

Callers 1

getPicturesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected