will branch off into a maps test

This commit is contained in:
deranjer committed 2020-06-10 14:52:59 -04:00
1 parent 161843f4c8
commit c4aa5a1c66
2 files changed
+15 -5

No files matched your search

+9 -3
View File
@@ -1,10 +1,16 @@
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"`
// }
type FileTypes struct {
Files []string `toml:"files"`
Exts []string `toml:"exts"`
Folders []string `toml:"folders"`
Files map[string]string `toml:"files"`
Folders map[string]string `toml:"folders"`
Exts map[string]string `toml:"exts"`
}
// RepoRefreshRequest returns locks, ignores, and commits/branches. Server marshals into this, client unmarshals