martaListModel

Method refresh()

fun ListModel:refresh(

force: Boolean = true,

nameToSelect: String? = nil

)

Refresh the list model.

If force is false, Marta will not refresh the list unless file watcher functionality is turned off or not available.

If the nameToSelect argument is passed, Marta will try to select the file with a given name after the list update.