MCPcopy Create free account
hub / github.com/Image-Py/imagepy / get_docs

Function get_docs

imagepy/doc/test.py:3–8  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1import os
2
3def get_docs(path):
4 docs = []
5 for dirpath,dirnames,filenames in os.walk(path):
6 for filename in filenames:
7 docs.append(os.path.join(dirpath,filename))
8 return [i for i in docs if i[-3:] == '.md']
9
10print(get_docs('./'))

Callers 1

test.pyFile · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected