| 33 | |
| 34 | |
| 35 | CopyStep::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 | |
| 57 | void CopyStep::replaceVariables(VariableHandler *variableHandler) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected