Copy-paste fix pattern
library CB-Storage
fn main() {
CB-Storage.write_text("notes.cb", "saved")
println(CB-Storage.read_text_or("notes.cb", ""))
}
ClosedBit Docs
ClosedBit error docs
File input/output failure. A file could not be read, written, copied, or decoded.
A file could not be read, written, copied, or decoded.
Check permissions, locks, path spelling, and whether the file is inside the project.
library CB-Storage
fn main() {
CB-Storage.write_text("notes.cb", "saved")
println(CB-Storage.read_text_or("notes.cb", ""))
}