MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / traverse

Function traverse

ci/doc_link_checker.py:55–63  ·  view source on GitHub ↗
(_dir, args)

Source from the content-addressed store, hash-verified

53
54
55def traverse(_dir, args):
56 for home, dirs, files in os.walk(_dir):
57 if "./target" in home or "./.github" in home:
58 continue
59 for filename in files:
60 if filename.endswith('.md'):
61 path = os.path.join(home, filename)
62 if os.path.islink(path) == False:
63 analyze_doc(home, path, args)
64
65
66if __name__ == "__main__":

Callers 1

Calls 1

analyze_docFunction · 0.85

Tested by

no test coverage detected