getExplicitFiles

fun getExplicitFiles(source: String, destination: String, modpackDir: String, serverPackDestination: String): MutableList<ServerPackFile>

Gather a list of all files from an explicit source;destination-combination. If the source is a file, a singular ServerPackFile is returned. If the source is a directory, then all files in said directory are returned.

Return

List of ServerPackFile.

Author

Griefed

Parameters

source

source-file/directory

destination

destination-file/directory

modpackDir

The modpack-directory.

serverPackDestination

The destination, normally the server pack-directory.