MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / is_markdown

Function is_markdown

autofigure/utils/file_utils.py:128–130  ·  view source on GitHub ↗

Check if a file is a Markdown file.

(path: Union[str, Path])

Source from the content-addressed store, hash-verified

126
127
128def is_markdown(path: Union[str, Path]) -> bool:
129 """Check if a file is a Markdown file."""
130 return get_file_extension(path) in ("md", "markdown")

Callers

nothing calls this directly

Calls 1

get_file_extensionFunction · 0.85

Tested by

no test coverage detected