chore: remove now useless MoveFile import

This commit is contained in:
goat 2023-10-04 23:47:08 +02:00
parent 707bcd4d82
commit 196504d625
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -812,18 +812,4 @@ public static class Util
}
}
}
[Flags]
#pragma warning disable SA1201
private enum MoveFileFlags
#pragma warning restore SA1201
{
MovefileReplaceExisting = 0x00000001,
MovefileWriteThrough = 0x00000008,
}
[return: MarshalAs(UnmanagedType.Bool)]
[DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Unicode)]
private static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName,
MoveFileFlags dwFlags);
}