You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This function may be used to make a backup of an existing environment.
290
290
/// </summary>
291
291
/// <param name="path">The directory in which the copy will reside. This directory must already exist and be writable but must otherwise be empty.</param>
292
-
publicvoidCopyTo(stringpath)
292
+
/// <param name="compact">Omit empty pages when copying.</param>
/// <param name="env">An environment handle returned by mdb_env_create(). It must have already been opened successfully.</param>
304
304
/// <param name="path">The directory in which the copy will reside. This directory must already exist and be writable but must otherwise be empty.</param>
305
305
/// <returns>A non-zero error value on failure and 0 on success.</returns>
306
-
intmdb_env_copy(IntPtrenv,stringpath);//OK
306
+
intmdb_env_copy(IntPtrenv,stringpath);
307
+
308
+
/// <summary>
309
+
/// Copy an LMDB environment to the specified path, with options.
310
+
/// This function may be used to make a backup of an existing environment. No lockfile is created, since it gets recreated at need.
311
+
/// This call can trigger significant file size growth if run in parallel with write transactions, because it employs a read-only transaction.
312
+
/// </summary>
313
+
/// <param name="env">An environment handle returned by mdb_env_create(). It must have already been opened successfully.</param>
314
+
/// <param name="path">The directory in which the copy will reside. This directory must already exist and be writable but must otherwise be empty.</param>
315
+
/// <param name="copyFlags">Special options for this operation. This parameter must be set to 0 or by bitwise OR'ing together one or more of the values described here.</param>
316
+
/// <returns>A non-zero error value on failure and 0 on success.</returns>
0 commit comments