feat(workspace): add ListBranches method to WorkspaceService

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 18:05:18 +08:00
parent a4a6e6a01a
commit 665d029d2b
8 changed files with 68 additions and 0 deletions
+4
View File
@@ -436,6 +436,10 @@ func (s *acpStubWsSvc) GetCredentialMeta(context.Context, workspace.Caller, uuid
return nil, fmt.Errorf("acpStubWsSvc.GetCredentialMeta unused")
}
func (s *acpStubWsSvc) ListBranches(context.Context, workspace.Caller, uuid.UUID) ([]string, error) {
return nil, fmt.Errorf("acpStubWsSvc.ListBranches unused")
}
// acpStubProjectAccess satisfies acp.ProjectAccess; only GetProjectByWorkspace is
// exercised by the branch=main path.
type acpStubProjectAccess struct {