File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,8 @@ impl EnvironmentBuilder {
242
242
///
243
243
/// On UNIX, the database files will be opened with 644 permissions.
244
244
///
245
- /// The path may not contain the null character.
245
+ /// The path may not contain the null character, Windows UNC (Uniform Naming Convention)
246
+ /// paths are not supported either.
246
247
pub fn open ( & self , path : & Path ) -> Result < Environment > {
247
248
self . open_with_permissions ( path, 0o644 )
248
249
}
@@ -251,7 +252,8 @@ impl EnvironmentBuilder {
251
252
///
252
253
/// On Windows, the permissions will be ignored.
253
254
///
254
- /// The path may not contain the null character.
255
+ /// The path may not contain the null character, Windows UNC (Uniform Naming Convention)
256
+ /// paths are not supported either.
255
257
pub fn open_with_permissions ( & self , path : & Path , mode : ffi:: mode_t ) -> Result < Environment > {
256
258
let mut env: * mut ffi:: MDB_env = ptr:: null_mut ( ) ;
257
259
unsafe {
You can’t perform that action at this time.
0 commit comments