moonbitlang/x/fs does not have a README file
pub(all) suberror IOError { IOError(String)} derive(@moonbitlang/core/debug.DebugDebug)
fn create_dir(path : String) -> Unit raise IOError
fn is_dir(path : String) -> Bool raise IOError
fn is_file(path : String) -> Bool raise IOError
fn path_exists(path : String) -> Bool
fn read_dir(path : String) -> Array[String] raise IOError
fn read_file_to_bytes(path : String) -> Bytes raise IOError
fn read_file_to_string(path : String, encoding? : String) -> String raise IOError
fn remove_dir(path : String) -> Unit raise IOError
fn remove_file(path : String) -> Unit raise IOError
fn write_bytes_to_file(path : String, content : Bytes) -> Unit raise IOError
fn write_string_to_file(path : String, content : String, encoding? : String) -> Unit raise IOError
Install
experimental packages for moonbitlang/core
Powered by MoonBit
© 2026 mooncakes.io