Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
def
discover_posts() -> list[Path]:
35
if
not POST_PATH.exists():
36
return
[]
37
return
sorted(POST_PATH.glob(
"*.md"
))
38
39
40
def
title_from_slug(slug: str) -> str:
Callers
1
main
Function · 0.85
Calls
1
exists
Method · 0.45
Tested by
no test coverage detected