Skip to content

Patch.removeOldFiles

Wesley Haws edited this page Nov 2, 2016 · 1 revision

#removeOldFiles

public string removeOldFiles(string directoryPath="")

##Parameters

Type Name Description
string directoryPath Optional. Folder where you want to run this command.

##Description

Scans this folder and removes all .delta and .sig files. It also scans for anything ending with ".new" and finds a file with the same name. It removes the same named file and replaces it with the .new version.

##Example

using GameDevRepo;

void Start(){
    PatchSystem patch = new PatchSystem();
    string output = patch.removeOldFiles();
}
Clone this wiki locally