refactor: remove global state from fs module and use dispatcher

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-03 21:11:12 +00:00
parent 9abf48b567
commit d5082fc856
3 changed files with 9 additions and 6 deletions

2
fs.h
View File

@@ -4,7 +4,7 @@
#include "dispatcher.h"
// Initialize the auto-save thread
void fs_init(AppState *state);
void fs_init(void);
// Cleanup the auto-save thread
void fs_cleanup(void);