This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/os.remove.md
2021-03-12 22:10:24 +01:00

537 B

Remove files from the file system.

os.remove("path", ...)

Parameters

path is the file system path to be removed. Wildcard matches are supported, see os.matchfiles for examples.

Return Value

True if successful, otherwise nil and an error message.

Availability

Premake 5.0 or later.

See Also

Examples

local ok, err = os.remove{"**.bak", "**.log"}
if not ok then
	error(err)
end