Scoop API

scoop:scoop.platform:0.1.0

DirectoryEntries

class DirectoryEntries

source · line 15
public
public class DirectoryEntries private constructor(private val path: Path) : Iterable<DirectoryEntry>, Iterator<DirectoryEntry>, Closeable

An owned, single-pass directory cursor implementing both Iterable and Iterator. Close it when finished or when abandoning enumeration.

function close

source · line 98
public
public override fun close(): Unit

Closes the directory enumeration handle.