File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
internal/cardano-node/mithril-cardano-node-internal-database/src/entities
mithril-client/src/cardano_database_client Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ impl ImmutableFile {
133
133
Ok ( hasher. finalize ( ) )
134
134
}
135
135
136
- /// List all [`ImmutableFile`] in a given directory.
136
+ /// List all [`ImmutableFile`] in a given directory by recursively searching a immutable directory .
137
137
pub fn list_all_in_dir ( dir : & Path ) -> Result < Vec < ImmutableFile > , ImmutableFileListingError > {
138
138
let immutable_dir = find_immutables_dir ( dir) . ok_or (
139
139
ImmutableFileListingError :: MissingImmutableFolder ( dir. to_path_buf ( ) ) ,
@@ -169,7 +169,7 @@ impl ImmutableFile {
169
169
}
170
170
}
171
171
172
- /// Check if at least one immutable file exists in the given directory
172
+ /// Check if at least one immutable file exists in the given directory by recursively searching a immutable directory
173
173
pub fn at_least_one_immutable_files_exist_in_dir (
174
174
dir : & Path ,
175
175
) -> Result < ( ) , ImmutableFileListingError > {
Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ impl InternalArtifactProver {
44
44
}
45
45
46
46
/// Compute the Merkle proof of membership for the given immutable file range.
47
+ ///
48
+ /// It will recursively search for immutables directory inside the provided `database_dir`.
47
49
pub async fn compute_merkle_proof (
48
50
& self ,
49
51
certificate : & CertificateMessage ,
You can’t perform that action at this time.
0 commit comments