entryType

suspend fun entryType(path: String): EntryType?

Returns the type (file or directory) of an entry at the given path, or null if no such entry exists.

Parameters

path

path of the entry, relative to the repo root.