Apprendre
Classe de moteur
FileSystemService

*Ce contenu est traduit en utilisant l'IA (Beta) et peut contenir des erreurs. Pour consulter cette page en anglais, clique ici.


Résumé

Méthodes
CreateDirectories(folderPath: string):()
Exists(filePath: string):boolean
Remove(filePath: string):()
RemoveAll(filePath: string):()
Walk(folderPath: string,mode: Enum.FileSystemWalkMode):()
WriteFile(filePath: string,content: string,mode: Enum.FileMode):()
Membres hérités

Référence API
Méthodes
CreateDirectories
FileSystemService:CreateDirectories(folderPath:string):()
Paramètres
folderPath:string
Retours
()

Exists
FileSystemService:Exists(filePath:string):boolean
Paramètres
filePath:string
Retours

IsDirectory
FileSystemService:IsDirectory(filePath:string):boolean
Paramètres
filePath:string
Retours

IsRegularFile
FileSystemService:IsRegularFile(filePath:string):boolean
Paramètres
filePath:string
Retours

ReadFile
FileSystemService:ReadFile(
filePath:string, mode:Enum.FileMode
Paramètres
filePath:string
Retours

Remove
FileSystemService:Remove(filePath:string):()
Paramètres
filePath:string
Retours
()

RemoveAll
FileSystemService:RemoveAll(filePath:string):()
Paramètres
filePath:string
Retours
()

Walk
FileSystemService:Walk(
):()
Paramètres
folderPath:string
Retours
()

WriteFile
FileSystemService:WriteFile(
filePath:string, content:string, mode:Enum.FileMode
):()
Paramètres
filePath:string
content:string
Retours
()

©2026 Société Roblox. Roblox, le logo Roblox et Powering Imagination font partie de nos marques déposées aux États-Unis et dans d'autres pays.