This library is in flux. APIs may change without notice. Generated from source on 3/14/2026.

Filesystem

File operations with phantom types for resource safety

fs.kz

Koru Standard Library: Filesystem File operations with phantom types for resource safety
// ============================================================================
// HIGH-LEVEL API (convenience, no handle management)
// ============================================================================
// 
// Read entire file as array of lines
~pub event read_lines {
    path: []const u8
}
| lines [][]const u8
| failed []const u8