Files
BitLogger/bitlogger/file_backend_stub.mbt
T
2026-05-08 16:24:20 +08:00

32 lines
581 B
MoonBit

pub struct FileHandle {
path : String
}
fn open_file_handle_internal(path : String, append : Bool) -> FileHandle? {
ignore(append)
ignore(path)
let _unused : FileHandle = { path: "" }
ignore(_unused)
None
}
fn write_file_handle_internal(handle : FileHandle, content : String) -> Bool {
ignore(handle)
ignore(content)
false
}
fn flush_file_handle_internal(handle : FileHandle) -> Bool {
ignore(handle)
false
}
fn close_file_handle_internal(handle : FileHandle) -> Bool {
ignore(handle)
false
}
fn native_files_supported_internal() -> Bool {
false
}