Implement cleaning existing config

This commit is contained in:
2024-08-13 09:24:42 +02:00
parent 1669f10a60
commit 9a8f1c3dbd
2 changed files with 106 additions and 9 deletions

View File

@@ -1,9 +1,15 @@
package main
type Project struct {
Name string `json:"name"`
RootPath string `json:"rootPath"`
Paths []string `json:"paths"`
Tags []string `json:"tags"`
Enabled bool `json:"enabled"`
type Config struct {
Entries []Entry `json:"entries"`
}
type Workspace struct {
ID string `json:"id"`
ConfigPath string `json:"configPath"`
}
type Entry struct {
FolderURI string `json:"folderUri,omitempty"`
Workspace Workspace `json:"workspace,omitempty"`
FileURI string `json:"fileUri,omitempty"`
Label string `json:"label,omitempty"`
}