feat(workspace): add GET /branches endpoint

This commit is contained in:
2026-06-10 18:07:13 +08:00
parent 665d029d2b
commit 12ba5d5365
3 changed files with 48 additions and 1 deletions
+4
View File
@@ -115,3 +115,7 @@ func toFileStatusResp(f git.FileStatus) fileStatusResp {
type commitResp struct {
SHA string `json:"sha"`
}
type branchListResp struct {
Branches []string `json:"branches"`
}