C# Class OpenBveApi.Packages.DatabaseFunctions

Contains the database functions
Exibir arquivo Open project: leezer3/OpenBVE

Public Methods

Method Description
FindFileLocations ( List tempList ) : List

This function takes a list of files, and returns the files with corrected relative paths for compression or extraction

cleanDirectory ( string currentDirectory, string &Result ) : void

This function cleans empty subdirectories after the uninstallation of a package

Method Details

FindFileLocations() public static method

This function takes a list of files, and returns the files with corrected relative paths for compression or extraction
public static FindFileLocations ( List tempList ) : List
tempList List The file list
return List

cleanDirectory() public static method

This function cleans empty subdirectories after the uninstallation of a package
public static cleanDirectory ( string currentDirectory, string &Result ) : void
currentDirectory string The directory to clean (Normally the root package install directory)
Result string The results output string
return void