Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.file.delete

C๐Ÿท๏ธ File

Part of StarfallEx namespace

๐Ÿ”— External
file.delete(path, recursive)
View on GitHub|lua/starfall/libs_cl/file.lua:360
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Deletes a file or directory

Parameters

NameTypeDescription
pathstringFilepath relative to data/sf_filedata/.
recursive?booleanIf true, deletes directories recursively

Returns

TypeDescription
booleanTrue if successful, nil if it wasn't found

Examples

No examples available.

Used In

No usages found in the codebase.