Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ezyang/ghstack
/ parse_header
Function
parse_header
src/ghstack/git.py:98–99 ·
view source on GitHub ↗
(s: str, github_url: str)
Source
from the content-addressed store, hash-verified
96
97
98
def
parse_header(s: str, github_url: str) -> List[ghstack.diff.Diff]:
99
return
[convert_header(h, github_url)
for
h in split_header(s)]
Callers
nothing calls this directly
Calls
2
convert_header
Function · 0.85
split_header
Function · 0.85
Tested by
no test coverage detected