···45 ConfigReloaded,
46};
4748-const Warn = enum { DeprecatedConfigPath };
4950buf: [1024]u8 = undefined,
51style: Style = Style.info,
···106pub fn writeWarn(self: *Self, warning: Warn) !void {
107 try switch (warning) {
108 .DeprecatedConfigPath => self.write("You are using a deprecated config path. Please move your config to either `$XDG_CONFIG_HOME/jido` or `$HOME/.jido`", .warn),
0109 };
110}
111
···45 ConfigReloaded,
46};
4748+const Warn = enum { DeprecatedConfigPath, DuplicateFileOnUndo };
4950buf: [1024]u8 = undefined,
51style: Style = Style.info,
···106pub fn writeWarn(self: *Self, warning: Warn) !void {
107 try switch (warning) {
108 .DeprecatedConfigPath => self.write("You are using a deprecated config path. Please move your config to either `$XDG_CONFIG_HOME/jido` or `$HOME/.jido`", .warn),
109+ .DuplicateFileOnUndo => self.write("A file with the same name already exists. A unique identifier has been appending to the duplicated item.", .warn),
110 };
111}
112