From 7770b302f7623ee6677e5667195f2a57bebeb198 Mon Sep 17 00:00:00 2001 From: David Braden Date: Mon, 23 Oct 2023 11:35:57 -0600 Subject: [PATCH] add todo for hack removal (#67) --- crates/tx5-core/src/file_check.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tx5-core/src/file_check.rs b/crates/tx5-core/src/file_check.rs index f7174a5b..57042354 100644 --- a/crates/tx5-core/src/file_check.rs +++ b/crates/tx5-core/src/file_check.rs @@ -31,6 +31,7 @@ fn tmp_persist>( p: P, ) -> std::result::Result> { // this is even less atomic... + // TODO - remove this hack after: https://github.com/Stebalien/tempfile/issues/259 is resolved if std::fs::metadata(&p).is_ok() { // file might exist, error out return Err(tempfile::PersistError {