MCPcopy Create free account
hub / github.com/bytedance/bolt / discover_posts

Function discover_posts

scripts/normalize_blog_posts.py:34–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def discover_posts() -> list[Path]:
35 if not POST_PATH.exists():
36 return []
37 return sorted(POST_PATH.glob("*.md"))
38
39
40def title_from_slug(slug: str) -> str:

Callers 1

mainFunction · 0.85

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected