1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

Simplifying CalculateFilesChecksum API

There's a small side-effect: The scripting "checksum" command now prints file name only while before it printed the path as it was original specified in the command.

Source commit: 7594ed8befc67e4da3153cc8b1b711ab104db867
This commit is contained in:
Martin Prikryl
2022-07-13 13:38:38 +00:00
parent 1f30e227e9
commit 8994d1f98e
16 changed files with 28 additions and 50 deletions

View File

@@ -1648,8 +1648,7 @@ bool __fastcall TS3FileSystem::LoadFilesProperties(TStrings * FileList)
}
//---------------------------------------------------------------------------
void __fastcall TS3FileSystem::CalculateFilesChecksum(
const UnicodeString & DebugUsedArg(Alg), TStrings * DebugUsedArg(FileList), TStrings * DebugUsedArg(Checksums),
TCalculatedChecksumEvent,
const UnicodeString & DebugUsedArg(Alg), TStrings * DebugUsedArg(FileList), TCalculatedChecksumEvent,
TFileOperationProgressType *, bool DebugUsedArg(FirstLevel))
{
DebugFail();