Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBranchFromURL ¶
ParseBranchFromURL 从 Git 仓库地址中解析分支名,如果未指定则默认返回 main 处理 GitHub 的 tree URL,例如: https://github.com/owner/repo/tree/feat-schema
func RepoFullName ¶
RepoFullName 返回 owner/repo 格式的仓库全名
func ResolveBranch ¶
ResolveBranch 解析分支名,优先使用配置中的 branch,如果为空则从 URL 解析或使用默认 main
Types ¶
Click to show internal directories.
Click to hide internal directories.