Explorar el Código

Rename log_persister to internal.

Jing Yang hace 2 años
padre
commit
2901e7a443
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0 0
      src/storage/internal.rs
  2. 2 2
      src/storage/mod.rs

+ 0 - 0
src/storage/log_persister.rs → src/storage/internal.rs


+ 2 - 2
src/storage/mod.rs

@@ -1,9 +1,9 @@
-pub(crate) use log_persister::SharedLogPersister;
+pub(crate) use internal::SharedLogPersister;
 
 use crate::{Index, Term};
 
 mod decode_and_encode;
-mod log_persister;
+mod internal;
 
 /// A reference type that points to a Raft log entry. Used as input parameters
 /// in the storage interface `RaftStoragePersisterTrait`.