feat: when writing HTML report pages, write temp file and rename
modified src/pages.rs
@@ -9,7 +9,6 @@
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -33,7 +32,7 @@ use crate::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53,7 +52,7 @@ pub enum PageError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -972,7 +971,8 @@ impl StatusPage {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/util.rs
@@ -1,8 +1,10 @@
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -138,6 +140,20 @@ pub fn read_file_as_objectid(filename: &Path) -> Result<ObjectId, UtilError> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -178,4 +194,16 @@ pub enum UtilError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|