asFolder

fun asFolder(): RealRemoteFolder

Returns this RemoteEntry as a RemoteFolder

See isFolder.

Return

this object as a RemoteFolder

Throws

if the entry is not a folder