adding more server/client communication commands, need to fix echo path params
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user