projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enforce no missing docs in all crates (+ add docs that were missing)
[rust-lightning]
/
lightning-persister
/
src
/
lib.rs
diff --git
a/lightning-persister/src/lib.rs
b/lightning-persister/src/lib.rs
index 1b343ce164f508f7cb0e99adfc3fc5f391751fe0..3db95f35a955e3b46113761eae91e26b105c1086 100644
(file)
--- a/
lightning-persister/src/lib.rs
+++ b/
lightning-persister/src/lib.rs
@@
-1,4
+1,7
@@
+//! Utilities that handle persisting Rust-Lightning data to disk via standard filesystem APIs.
+
#![deny(broken_intra_doc_links)]
#![deny(broken_intra_doc_links)]
+#![deny(missing_docs)]
mod util;
mod util;
@@
-74,6
+77,7
@@
impl FilesystemPersister {
}
}
}
}
+ /// Get the directory which was provided when this persister was initialized.
pub fn get_data_dir(&self) -> String {
self.path_to_channel_data.clone()
}
pub fn get_data_dir(&self) -> String {
self.path_to_channel_data.clone()
}