working on merging configs, adding branch/switch/pull commands
This commit is contained in:
@@ -1,22 +1,17 @@
|
||||
package common
|
||||
|
||||
//FileTypes is for ignoring files to add or ignoring compress, or for locked files, all use the same type of struct (files, folders and exts)
|
||||
// type FileTypes struct {
|
||||
// Files []string `toml:"files"`
|
||||
// Exts []string `toml:"exts"`
|
||||
// Folders []string `toml:"folders"`
|
||||
// }
|
||||
|
||||
// FileTypes is for ignoring files to add or ignoring compress, or for locked files, all use the same type of struct (files, folders and exts)
|
||||
type FileTypes struct {
|
||||
Files map[string]string `toml:"files"`
|
||||
Folders map[string]string `toml:"folders"`
|
||||
Exts map[string]string `toml:"exts"`
|
||||
Files []string `toml:"files"`
|
||||
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
|
||||
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
|
||||
NoCompress FileTypes
|
||||
}
|
||||
|
Reference in New Issue
Block a user