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

SFEX.file.rename

C๐Ÿท๏ธ File

Part of StarfallEx namespace

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

Description

Renames a file

Parameters

NameTypeDescription
pathstringFilepath relative to data/sf_filedata/.
newPathstringNew filepath relative to data/sf_filedata/.

Returns

TypeDescription
booleanTrue if successful, nil if source not found

Examples

No examples available.

Used In

No usages found in the codebase.