From 767b29be2be9f7ebf67eece0f3f1ac52e774c8e8 Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Mon, 29 Nov 2021 14:57:10 +0100 Subject: [PATCH] Adds RecallOn* file attributes Fixes #763 --- powershell/CompiledHelpers/VstsTaskSdk.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/powershell/CompiledHelpers/VstsTaskSdk.cs b/powershell/CompiledHelpers/VstsTaskSdk.cs index 6c37f1e58..e04c90777 100644 --- a/powershell/CompiledHelpers/VstsTaskSdk.cs +++ b/powershell/CompiledHelpers/VstsTaskSdk.cs @@ -222,7 +222,10 @@ public enum Attributes : uint PosixSemantics = 0x01000000, OpenReparsePoint = 0x00200000, OpenNoRecall = 0x00100000, - FirstPipeInstance = 0x00080000 + FirstPipeInstance = 0x00080000, + // Refer https://docs.microsoft.com/en-us/windows/win32/fileio/file-attribute-constants?redirectedfrom=MSDN&WT.mc_id=DOP-MVP-5001511 + RecallOnDataAccess = 0x00400000, + RecallOnOpen = 0x00040000 } [Flags] public enum FindFlags