Package-level declarations

Types

Link copied to clipboard

File extension representation of supported compression formats.

Functions

Link copied to clipboard

Returns a human-readable file size like 1MB or 1GB.

Link copied to clipboard

SHA256 hash of the file or directory.

Link copied to clipboard

Constructs a new InputStream of this file either directly or compressed.

Link copied to clipboard

Constructs a new OutputStream of this file either directly or compressed according to the path's extension.

Link copied to clipboard
fun Path.walk(maxDepth: Int = Int.MAX_VALUE): Sequence<Path>

Returns a sequence of subpaths with maxDepth by walking the file tree.