Mark,
Am 28.04.26 um 19:22 schrieb Michael Balzer via OvmsDev:
Am 27.04.26 um 07:38 schrieb Mark Webb-Johnson:
I did implement a FileWriter, which seemed neat as it simply records to disk and supports the command Writer interface - and even hooked it in so it correctly and neatly swaps from /store/… to /store2/… during the store migration. But it just doesn’t seem very elegant at the moment.
I see what you mean, but don't have a better idea yet. Maybe something like
GetPath()&SetPath()?
I had to rework the log copying/handover to make sure we can still get details of the migrate step when it encounters corruption on /store, took that opportunity to also rework the FileWriter API.
Regards, Michael
-- Michael Balzer * Am Rahmen 5 * D-58313 Herdecke Fon 02330 9104094 * Handy 0176 20698926