pub fn all_entries(
handle: Handle(D),
) -> Promise(
Result(#(Array(Handle(D)), Array(Handle(F))), String),
)
pub fn close(
file_handle: WritableFileStream,
) -> Promise(Result(Nil, String))
pub fn create_writable(
file_handle: Handle(F),
) -> Promise(Result(WritableFileStream, String))
pub fn get_directory_handle(
handle: Handle(D),
name: String,
create: Bool,
) -> Promise(Result(Handle(D), String))
pub fn get_file(
file_handle: Handle(F),
) -> Promise(Result(File, String))
pub fn get_file_handle(
handle: Handle(D),
name: String,
create: Bool,
) -> Promise(Result(Handle(F), String))
pub fn name(handle: Handle(a)) -> String
pub fn remove_entry(
handle: Handle(D),
name: String,
create: Bool,
) -> Promise(Result(Nil, String))
pub fn show_directory_picker() -> Promise(
Result(Handle(D), String),
)
pub fn show_open_file_picker() -> Promise(
Result(Array(Handle(F)), String),
)
pub fn show_save_file_picker() -> Promise(
Result(Handle(F), String),
)
pub fn write(
file_handle: WritableFileStream,
content: BitArray,
) -> Promise(Result(Nil, String))