getEntryType

suspend fun getEntryType(path: String): EntryType?

Returns the type of repository entry (file, directory, ...) or None if the entry doesn't exist.