Better undo output (and remove undo.style config) (#3672)

This commit is contained in:
Dustin J. Mitchell
2024-11-07 14:56:34 -05:00
committed by GitHub
parent dcc8a8cdde
commit a2f9b92d6c
11 changed files with 105 additions and 331 deletions

View File

@@ -51,7 +51,6 @@ class TDB2 {
void modify(Task &);
void purge(Task &);
void get_changes(std::vector<Task> &);
void revert();
void gc();
void expire_tasks();
int latest_id();
@@ -75,8 +74,6 @@ class TDB2 {
void dump();
bool confirm_revert(rust::Vec<tc::Operation> &);
rust::Box<tc::Replica> &replica();
private:
@@ -93,7 +90,6 @@ class TDB2 {
const rust::Box<tc::WorkingSet> &working_set();
void maybe_add_undo_point(rust::Vec<tc::Operation> &);
static void show_diff(const std::string &, const std::string &, const std::string &);
};
#endif