Skip to content

Commit

Permalink
v8.3.27213.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ITHitBuild committed Nov 18, 2024
1 parent 6c51ab2 commit 58973af
Show file tree
Hide file tree
Showing 130 changed files with 3,452 additions and 2,837 deletions.
4 changes: 2 additions & 2 deletions Common/Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
<PackageReference Include="ITHit.FileSystem" Version="8.3.27213.0" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions Windows/Common/Core/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ public void ShowTestEnvironment(string userFileSystemWindowName, bool openRemote
if (openRemoteStorage)
{
Commands.Open(RemoteStorageRootPath);
string rsWindowName = Path.GetFileName(RemoteStorageRootPath.TrimEnd('\\'));
IntPtr hWndRemoteStorage = WindowManager.FindWindow(rsWindowName, cancellationToken);
WindowManager.PositionFileSystemWindow(hWndRemoteStorage, horizintalIndex, totalWindows);
//string rsWindowName = Path.GetFileName(RemoteStorageRootPath.TrimEnd('\\'));
//IntPtr hWndRemoteStorage = WindowManager.FindWindow(rsWindowName, cancellationToken);
//WindowManager.PositionFileSystemWindow(hWndRemoteStorage, horizintalIndex, totalWindows);
}

// Open Windows File Manager with user file system.
Commands.Open(Engine.Path);
IntPtr hWndUserFileSystem = WindowManager.FindWindow(userFileSystemWindowName, cancellationToken);
WindowManager.PositionFileSystemWindow(hWndUserFileSystem, horizintalIndex + 1, totalWindows);
//IntPtr hWndUserFileSystem = WindowManager.FindWindow(userFileSystemWindowName, cancellationToken);
//WindowManager.PositionFileSystemWindow(hWndUserFileSystem, horizintalIndex + 1, totalWindows);
}

#endif
Expand Down
6 changes: 4 additions & 2 deletions Windows/Common/Core/Common.Windows.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<Copyright>IT Hit LTD.</Copyright>
<RootNamespace>ITHit.FileSystem.Samples.Common.Windows</RootNamespace>
<Platforms>AnyCPU;x64</Platforms>
<Nullable>enable</Nullable>
<LangVersion>8.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Installer.cs" />
Expand All @@ -21,8 +23,8 @@
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.3.27213.0" />
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
<ProjectReference Include="..\..\..\Common\Common.csproj" />
</ItemGroup>
</Project>
16 changes: 13 additions & 3 deletions Windows/Common/Core/ConsoleProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private void PrintCommandDescription(string key, string description)
/// <summary>
/// Reads and processes console input.
/// </summary>
public async Task ProcessUserInputAsync()
public async Task ProcessUserInputAsync(Action? onAppExit = null)
{
do
{
Expand All @@ -78,7 +78,7 @@ public async Task ProcessUserInputAsync()

case ConsoleKey.E:
// Start/stop the Engine and all sync services.
foreach(var keyValCommands in Commands)
foreach (var keyValCommands in Commands)
{
await keyValCommands.Value.StartStopEngineAsync();
}
Expand Down Expand Up @@ -122,9 +122,14 @@ public async Task ProcessUserInputAsync()
await keyValCommands.Value.StopEngineAsync();
}

bool removeSparsePackage = FileSystem.Windows.Package.PackageRegistrar.IsRunningWithSparsePackageIdentity() ?
bool removeSparsePackage = FileSystem.Windows.Package.PackageRegistrar.IsRunningWithSparsePackageIdentity() ?
keyInfo.Modifiers.HasFlag(ConsoleModifiers.Shift) : false;
await registrar.UnregisterAllSyncRootsAsync(this.providerId, removeSparsePackage);

if (onAppExit != null)
{
onAppExit();
}
return;

case ConsoleKey.Spacebar:
Expand All @@ -133,6 +138,11 @@ public async Task ProcessUserInputAsync()
{
await keyValCommands.Value.EngineExitAsync();
}

if (onAppExit != null)
{
onAppExit();
}
return;

default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<Compile Remove="IVirtualFolder.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.3.27213.0" />
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
<ProjectReference Include="..\..\..\Common\Common.csproj" />
<ProjectReference Include="..\Core\Common.Windows.Core.csproj" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion Windows/Common/VirtualDrive/CustomDataExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading.Tasks;

using ITHit.FileSystem.Windows;
using ITHit.FileSystem.Windows.ExternalDataManager;


namespace ITHit.FileSystem.Samples.Common.Windows
Expand Down
9 changes: 9 additions & 0 deletions Windows/Common/VirtualDrive/VirtualEngineBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ private void LogItemChanged(ItemsChangeEventArgs e, ChangeEventItem item)
/// <inheritdoc/>
public override async Task<bool> FilterAsync(SyncDirection direction, OperationType operationType, string path, FileSystemItemType itemType, string newPath, IOperationContext operationContext)
{
if (await new AutoLockFilter().FilterAsync(direction, operationType, path, itemType, newPath, operationContext))
{
return true;
}

if (await new ZipFilter().FilterAsync(direction, operationType, path, itemType, newPath, operationContext))
{
Expand All @@ -255,6 +259,11 @@ public override async Task<bool> FilterAsync(SyncDirection direction, OperationT
return true;
}

//if (await new PhotoshopFilter().FilterAsync(direction, operationType, path, itemType, newPath, operationContext))
//{
// return true;
//}

//if (await new ErrorStatusFilter(true).FilterAsync(direction, operationType, path, itemType, newPath, operationContext))
//{
// return true;
Expand Down
69 changes: 40 additions & 29 deletions Windows/UserFileSystemSamplesWin.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@ VisualStudioVersion = 17.2.32519.379
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebDAVDrive", "WebDAVDrive", "{264745B0-DF86-41E1-B400-3CAA1B403830}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebDAVDrive", "WebDAVDrive\WebDAVDrive\WebDAVDrive.csproj", "{C624F9B5-3EA1-416C-8592-37E6064C8247}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebDAVDrive.UI", "WebDAVDrive\WebDAVDrive.UI\WebDAVDrive.UI.csproj", "{51F6CFCC-AB57-40DD-AADA-6299A2C6B941}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VirtualDrive", "VirtualDrive", "{CAE8E8A6-2721-4C90-BCD9-F4B03C3D8F13}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VirtualDrive", "VirtualDrive\VirtualDrive\VirtualDrive.csproj", "{648FB01F-0C4A-409E-A48A-E6722F626AB8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VirtualDrive.ShellExtension", "VirtualDrive\VirtualDrive.ShellExtension\VirtualDrive.ShellExtension.csproj", "{1E765516-497B-4546-8C38-DB452915ACBF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VirtualFileSystem", "VirtualFileSystem\VirtualFileSystem.csproj", "{06E5D212-CAD4-4880-832D-69D8D69B8E3D}"
EndProject
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "VirtualDrive.Package", "VirtualDrive\VirtualDrive.Package\VirtualDrive.Package.wapproj", "{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}"
Expand All @@ -27,72 +21,89 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Windows.VirtualDrive
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "..\Common\Common.csproj", "{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}"
EndProject
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "WebDAVDrive.Package", "WebDAVDrive\WebDAVDrive.Package\WebDAVDrive.Package.wapproj", "{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebDAVDrive", "WebDAVDrive\WebDAVDrive\WebDAVDrive.csproj", "{18964270-1F2A-470E-A205-6F0AF976DA2E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C624F9B5-3EA1-416C-8592-37E6064C8247}.Debug|x64.ActiveCfg = Debug|x64
{C624F9B5-3EA1-416C-8592-37E6064C8247}.Debug|x64.Build.0 = Debug|x64
{C624F9B5-3EA1-416C-8592-37E6064C8247}.Release|x64.ActiveCfg = Release|x64
{C624F9B5-3EA1-416C-8592-37E6064C8247}.Release|x64.Build.0 = Release|x64
{51F6CFCC-AB57-40DD-AADA-6299A2C6B941}.Debug|x64.ActiveCfg = Debug|x64
{51F6CFCC-AB57-40DD-AADA-6299A2C6B941}.Debug|x64.Build.0 = Debug|x64
{51F6CFCC-AB57-40DD-AADA-6299A2C6B941}.Release|x64.ActiveCfg = Release|x64
{51F6CFCC-AB57-40DD-AADA-6299A2C6B941}.Release|x64.Build.0 = Release|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Debug|Any CPU.ActiveCfg = Debug|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Debug|Any CPU.Build.0 = Debug|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Debug|x64.ActiveCfg = Debug|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Debug|x64.Build.0 = Debug|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Release|Any CPU.ActiveCfg = Release|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Release|Any CPU.Build.0 = Release|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Release|x64.ActiveCfg = Release|x64
{648FB01F-0C4A-409E-A48A-E6722F626AB8}.Release|x64.Build.0 = Release|x64
{1E765516-497B-4546-8C38-DB452915ACBF}.Debug|x64.ActiveCfg = Debug|x64
{1E765516-497B-4546-8C38-DB452915ACBF}.Debug|x64.Build.0 = Debug|x64
{1E765516-497B-4546-8C38-DB452915ACBF}.Release|x64.ActiveCfg = Release|x64
{1E765516-497B-4546-8C38-DB452915ACBF}.Release|x64.Build.0 = Release|x64
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Debug|x64.ActiveCfg = Debug|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Debug|x64.Build.0 = Debug|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Release|Any CPU.Build.0 = Release|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Release|x64.ActiveCfg = Release|Any CPU
{06E5D212-CAD4-4880-832D-69D8D69B8E3D}.Release|x64.Build.0 = Release|Any CPU
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|Any CPU.ActiveCfg = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|Any CPU.Build.0 = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|Any CPU.Deploy.0 = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|x64.ActiveCfg = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|x64.Build.0 = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Debug|x64.Deploy.0 = Debug|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|Any CPU.ActiveCfg = Release|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|Any CPU.Build.0 = Release|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|Any CPU.Deploy.0 = Release|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|x64.ActiveCfg = Release|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|x64.Build.0 = Release|x64
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9}.Release|x64.Deploy.0 = Release|x64
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Debug|x64.ActiveCfg = Debug|x64
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Debug|x64.Build.0 = Debug|x64
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Release|Any CPU.Build.0 = Release|Any CPU
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Release|x64.ActiveCfg = Release|x64
{AA64B9BF-C18A-4818-A260-0A32ACFCC809}.Release|x64.Build.0 = Release|x64
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Debug|x64.ActiveCfg = Debug|x64
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Debug|x64.Build.0 = Debug|x64
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Release|Any CPU.Build.0 = Release|Any CPU
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Release|x64.ActiveCfg = Release|x64
{E589600E-97A4-4B1D-8921-0CCC63B03E96}.Release|x64.Build.0 = Release|x64
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Debug|x64.ActiveCfg = Debug|x64
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Debug|x64.Build.0 = Debug|x64
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Release|Any CPU.Build.0 = Release|Any CPU
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Release|x64.ActiveCfg = Release|x64
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE}.Release|x64.Build.0 = Release|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Debug|x64.ActiveCfg = Debug|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Debug|x64.Build.0 = Debug|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Debug|x64.Deploy.0 = Debug|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Release|x64.ActiveCfg = Release|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Release|x64.Build.0 = Release|x64
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA}.Release|x64.Deploy.0 = Release|x64
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|x64.ActiveCfg = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|x64.Build.0 = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Debug|x64.Deploy.0 = Debug|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Release|Any CPU.Build.0 = Release|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Release|x64.ActiveCfg = Release|Any CPU
{18964270-1F2A-470E-A205-6F0AF976DA2E}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C624F9B5-3EA1-416C-8592-37E6064C8247} = {264745B0-DF86-41E1-B400-3CAA1B403830}
{51F6CFCC-AB57-40DD-AADA-6299A2C6B941} = {264745B0-DF86-41E1-B400-3CAA1B403830}
{648FB01F-0C4A-409E-A48A-E6722F626AB8} = {CAE8E8A6-2721-4C90-BCD9-F4B03C3D8F13}
{1E765516-497B-4546-8C38-DB452915ACBF} = {CAE8E8A6-2721-4C90-BCD9-F4B03C3D8F13}
{9CC25823-7D6C-4AAA-95A0-EE0514CCABD9} = {CAE8E8A6-2721-4C90-BCD9-F4B03C3D8F13}
{AA64B9BF-C18A-4818-A260-0A32ACFCC809} = {F24CBDD0-7A18-43F0-BCD2-A8FD1A8A7B54}
{E589600E-97A4-4B1D-8921-0CCC63B03E96} = {F24CBDD0-7A18-43F0-BCD2-A8FD1A8A7B54}
{C1585095-4C3B-4CD1-B8B2-ECDD378D41BE} = {F24CBDD0-7A18-43F0-BCD2-A8FD1A8A7B54}
{86767A2F-1559-4DFB-925D-B8E7FCDE74CA} = {264745B0-DF86-41E1-B400-3CAA1B403830}
{18964270-1F2A-470E-A205-6F0AF976DA2E} = {264745B0-DF86-41E1-B400-3CAA1B403830}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {740A716A-38A7-46BC-A21F-18336D0023B7}
Expand Down
2 changes: 1 addition & 1 deletion Windows/VirtualDrive/VirtualDrive/VirtualDrive.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This is an advanced project with ETags support, Microsoft Office documents editi
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.2.27026.0" />
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.3.27213.0" />
<ProjectReference Include="..\..\..\Common\Common.csproj" />
<ProjectReference Include="..\..\Common\VirtualDrive\Common.Windows.VirtualDrive.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Windows/VirtualDrive/VirtualDrive/VirtualFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public async Task CloseCompletionAsync(IOperationContext operationContext, IResu
public async Task<IFileMetadata> ReadAsync(Stream output, long offset, long length, IFileMetadata metadata, ITransferDataOperationContext operationContext, ITransferDataResultContext resultContext, CancellationToken cancellationToken)
{
// On Windows this method has a 60 sec timeout.
// To process longer requests and reset the timout timer write to the output stream or call the resultContext.ReportProgress() or resultContext.ReturnData() methods.
// To process longer requests and reset the timeout timer write to the output stream or call the resultContext.ReportProgress() or resultContext.ReturnData() methods.

Logger.LogMessage($"{nameof(IFile)}.{nameof(ReadAsync)}({offset}, {length})", UserFileSystemPath, default, operationContext);

Expand Down Expand Up @@ -83,7 +83,7 @@ public async Task<IFileMetadata> ReadAsync(Stream output, long offset, long leng
public async Task ValidateDataAsync(long offset, long length, IValidateDataOperationContext operationContext, IValidateDataResultContext resultContext)
{
// This method has a 60 sec timeout.
// To process longer requests and reset the timout timer call the ReturnValidationResult()
// To process longer requests and reset the timeout timer call the ReturnValidationResult()
// method or IResultContext.ReportProgress() method.

Logger.LogMessage($"{nameof(IFile)}.{nameof(ValidateDataAsync)}({offset}, {length})", UserFileSystemPath, default, operationContext);
Expand Down
2 changes: 1 addition & 1 deletion Windows/VirtualDrive/VirtualDrive/VirtualFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public async Task<IFolderMetadata> CreateFolderAsync(IFolderMetadata folderMetad
public async Task GetChildrenAsync(string pattern, IOperationContext operationContext, IFolderListingResultContext resultContext, CancellationToken cancellationToken)
{
// This method has a 60 sec timeout.
// To process longer requests and reset the timout timer call one of the following:
// To process longer requests and reset the timeout timer call one of the following:
// - resultContext.ReturnChildren() method.
// - resultContext.ReportProgress() method.

Expand Down
Loading

0 comments on commit 58973af

Please sign in to comment.