asFolder

abstract fun asFolder(): RemoteFolder

Returns this RemoteEntry as a RemoteFolder

See isFolder.

Return

this object as a RemoteFolder

Throws

if the entry is not a folder