From cd3e83d0c35f70c8d0f54a12ac5489c63a49193b Mon Sep 17 00:00:00 2001 From: sardelka9515 Date: Sat, 10 Sep 2022 12:25:34 +0800 Subject: [PATCH] Fix CloneFlags --- lib/ICopyOnWriteFilesystem.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ICopyOnWriteFilesystem.cs b/lib/ICopyOnWriteFilesystem.cs index 9c0f4cb..51df19e 100644 --- a/lib/ICopyOnWriteFilesystem.cs +++ b/lib/ICopyOnWriteFilesystem.cs @@ -139,26 +139,26 @@ public enum CloneFlags /// /// Default zero value, no behavior changes. /// - None, + None = 0, /// /// Skip check for and copy of Windows file integrity settings from source to destination. /// Use when the filesystem and file are known not to use integrity. /// Saves 1-2 kernel round-trips. /// - NoFileIntegrityCheck, + NoFileIntegrityCheck = 1, /// /// Skip check for Windows sparse file attribute and application of sparse setting in destination. /// Use when the filesystem and file are known not to be sparse. /// Saves time by allowing use of less expensive kernel APIs. /// - NoSparseFileCheck, + NoSparseFileCheck = 2, /// /// Skip serialized clone creation if the OS's CoW facility cannot handle multi-threaded clone calls /// in a stable way (Windows as of Server 2022 / Windows 11). Skip this check if you know that only /// one clone of a source file will be performed at a time to improve performance. /// - NoSerializedCloning, + NoSerializedCloning = 4, }