apprt: action to change conditional state, implement for embedded

This commit is contained in:
Mitchell Hashimoto
2024-11-19 15:35:42 -08:00
parent d2566287e9
commit b7f1eaa145
8 changed files with 97 additions and 25 deletions

View File

@@ -2583,7 +2583,7 @@ pub fn loadRecursiveFiles(self: *Config, alloc_gpa: Allocator) !void {
/// deleted a file that was referenced in the configuration, then the
/// configuration can still be reloaded.
pub fn changeConditionalState(
self: *Config,
self: *const Config,
new: conditional.State,
) !Config {
// Create our new configuration