Funzione statica
Lento
File.GetFiles
Gets a list of all files in a directory, optionally with filters. Note that the results may differ between Linux and Windows due to the way the file system works
Non ancora tradotto
Sintassi
File.GetFiles(path_filter = "", extension_filter = "", max_depth = -1)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
path_filter
facoltativo
|
string|table | "" |
Path filter |
extension_filter
facoltativo
|
string | "" |
E.g.: <code>.lua</code> |
max_depth
facoltativo
|
integer | -1 |
The maximum depth to go further in the folders while searching. Pass -1 for maximum depth |
Valore restituito
- string[] List of files