working on merging configs, adding branch/switch/pull commands

This commit is contained in:
2020-06-10 22:45:15 -04:00
parent c4aa5a1c66
commit 2cbdf21a81
12 changed files with 269 additions and 66 deletions

View File

@@ -85,10 +85,12 @@ func (Server *GVCServer) Refresh(context echo.Context) error {
branches := serverRepo.LocalBranches
serverLocks := serverRepo.Locked
serverIgnores := serverRepo.DefaultIgnores
serverNoCompress := serverRepo.NoCompress
refreshResult := common.RepoRefreshRequest{
Branches: branches,
Locked: serverLocks,
Ignores: serverIgnores,
Branches: branches,
Locked: serverLocks,
Ignores: serverIgnores,
NoCompress: serverNoCompress,
}
return context.JSON(http.StatusOK, refreshResult)
}