(folder string, content []string)
| 2225 | } |
| 2226 | |
| 2227 | func (m *model) SetIgnores(folder string, content []string) error { |
| 2228 | cfg, ok := m.cfg.Folder(folder) |
| 2229 | if !ok { |
| 2230 | return fmt.Errorf("folder %s does not exist", cfg.Description()) |
| 2231 | } |
| 2232 | return m.setIgnores(cfg, content) |
| 2233 | } |
| 2234 | |
| 2235 | func (m *model) setIgnores(cfg config.FolderConfiguration, content []string) error { |
| 2236 | err := cfg.CheckPath() |
nothing calls this directly
no test coverage detected