From 0eee023198eba58329042eafbd564ce97c20a6e8 Mon Sep 17 00:00:00 2001 From: Valentine Wallace Date: Wed, 17 Feb 2021 14:25:48 -0500 Subject: [PATCH] check # write_to_file calls --- lightning-persister/src/util.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightning-persister/src/util.rs b/lightning-persister/src/util.rs index ed3aa27e6..d568af561 100644 --- a/lightning-persister/src/util.rs +++ b/lightning-persister/src/util.rs @@ -39,9 +39,8 @@ fn path_to_windows_str>(x: T) -> Vec(path: String, filename: String, data: &D) -> std::io::Result<()> { - println!("VMW: creating dir"); + println!("VMW: in write_to_file, filename: {}", filename); fs::create_dir_all(path.clone())?; - println!("VMW: created dir"); // Do a crazy dance with lots of fsync()s to be overly cautious here... // We never want to end up in a state where we've lost the old data, or end up using the -- 2.39.5