MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / CopyStep

Method CopyStep

libinstall/src/CopyStep.cpp:35–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35CopyStep::CopyStep(const TCHAR *from, const TCHAR *to, const TCHAR *toFile, BOOL attemptReplace,
36 BOOL validate, BOOL isGpup, BOOL backup, BOOL recursive,
37 const tstring& validateBaseUrl)
38 : _from(from), _validate(validate), _failIfExists(!attemptReplace),
39 _isGpup(isGpup), _backup(backup), _recursive(recursive),
40 _validateBaseUrl(validateBaseUrl)
41{
42
43 if (to)
44 {
45 _toDestination = TO_DIRECTORY;
46 _to = to;
47 }
48
49 if (toFile)
50 {
51 _toFile = toFile;
52 _toDestination = TO_FILE;
53 }
54
55}
56
57void CopyStep::replaceVariables(VariableHandler *variableHandler)
58{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected