Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione statica Condiviso Lento

File.GetDirectories

Gets a list of all directories given a path, 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

Lua
File.GetDirectories(path_filter = "", max_depth = -1)

Parametri

Nome Tipo Predefinito Descrizione
path_filter facoltativo string "" Path filter
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 directories