adding more server/client communication commands, need to fix echo path params

This commit is contained in:
2020-06-08 20:55:34 -04:00
parent b2238657c8
commit c2e74ce7f4
10 changed files with 111 additions and 33 deletions

View File

@@ -6,3 +6,11 @@ type FileTypes struct {
Exts []string `toml:"exts"`
Folders []string `toml:"folders"`
}
// RepoRefreshRequest returns locks, ignores, and commits/branches. Server marshals into this, client unmarshals
type RepoRefreshRequest struct {
Branches []string // List of known branches on server
Commits string //TODO: This will be pulled from DB and be a different type
Locked FileTypes
Ignores FileTypes
}