Class: Package
Lua
C++
Edit

Package::DeleteFile

This method deletes a file from the package.

Syntax

bool DeleteFile(const WString path, const bool immediate = false)

Parameter Description
path relative file path
immediate if set to true the package file will be saved immediately, otherwise it will be saved at a later time

Returns

Returns true if successful, otherwise false is returned.

Remarks

Changes will not be made to the package file until the next Flush is called or the package is closed.

Copyright © 2024 Ultra Software.
All rights reserved.