replace


Description:

public bool replace (Path srcTmp, Path dst)

Replaces destination with source temporary file.

If backup mode is enabled and destination exists, destination is copied to destination + backupSuffix before replacement.

Parameters:

srcTmp

source temporary file path.

dst

destination file path.

Returns:

true on success.