MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / FileInstall

Method FileInstall

source/script2.cpp:8377–8388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8375
8376
8377ResultType Line::FileInstall(LPTSTR aSource, LPTSTR aDest, LPTSTR aFlag)
8378{
8379 bool success;
8380 bool allow_overwrite = (ATOI(aFlag) == 1);
8381#ifndef AUTOHOTKEYSC
8382 if (g_script.mKind != Script::ScriptKindResource)
8383 success = FileInstallCopy(aSource, aDest, allow_overwrite);
8384 else
8385#endif
8386 success = FileInstallExtract(aSource, aDest, allow_overwrite);
8387 return ThrowIfTrue(!success);
8388}
8389
8390bool Line::FileInstallExtract(LPTSTR aSource, LPTSTR aDest, bool aOverwrite)
8391{

Callers

nothing calls this directly

Calls 1

ATOIFunction · 0.85

Tested by

no test coverage detected