@@ -167,7 +167,7 @@ where
167
167
where
168
168
P : AsRef < Path > ,
169
169
{
170
- Self :: with_meta_format_and_path (
170
+ Self :: with_meta_format_and_prefix (
171
171
dir_path. as_ref ( ) ,
172
172
Some ( OnDiskMetadataFormat :: JsonPretty ) ,
173
173
None ,
@@ -181,7 +181,7 @@ where
181
181
where
182
182
P : AsRef < Path > ,
183
183
{
184
- Self :: with_meta_format_and_path (
184
+ Self :: with_meta_format_and_prefix (
185
185
dir_path. as_ref ( ) ,
186
186
Some ( OnDiskMetadataFormat :: JsonPretty ) ,
187
187
Some ( prefix) ,
@@ -198,7 +198,7 @@ where
198
198
where
199
199
P : AsRef < Path > ,
200
200
{
201
- Self :: with_meta_format_and_path ( dir_path. as_ref ( ) , Some ( meta_format) , None )
201
+ Self :: with_meta_format_and_prefix ( dir_path. as_ref ( ) , Some ( meta_format) , None )
202
202
}
203
203
204
204
/// Creates an [`OnDiskCorpus`] that will not store .metadata files
@@ -208,14 +208,14 @@ where
208
208
where
209
209
P : AsRef < Path > ,
210
210
{
211
- Self :: with_meta_format_and_path ( dir_path. as_ref ( ) , None , None )
211
+ Self :: with_meta_format_and_prefix ( dir_path. as_ref ( ) , None , None )
212
212
}
213
213
214
214
/// Creates a new corpus at the given (non-generic) path with the given optional `meta_format`
215
215
/// and `prefix`.
216
216
///
217
217
/// Will error, if [`std::fs::create_dir_all()`] failed for `dir_path`.
218
- pub fn with_meta_format_and_path (
218
+ pub fn with_meta_format_and_prefix (
219
219
dir_path : & Path ,
220
220
meta_format : Option < OnDiskMetadataFormat > ,
221
221
prefix : Option < String > ,
0 commit comments