moving a function and struct over to a common library, starting on lockfile for server
This commit is contained in:
8
common/structures.go
Normal file
8
common/structures.go
Normal file
@@ -0,0 +1,8 @@
|
||||
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"`
|
||||
}
|
Reference in New Issue
Block a user