shape_runtime/stdlib_io/async_file_ops.rs
1//! Async file operation implementations for the io module.
2//!
3//! Phase 2c partial: registrations DEFERRED. The 5 async file functions
4//! (io.read_file_async, io.write_file_async, io.append_file_async,
5//! io.read_bytes_async, io.exists_async) are path-only and therefore
6//! mechanical migrations using `register_typed_async_fn_N` with
7//! `Arc<String>` parameters. Held with the cluster so they land
8//! alongside the rest of the stdlib_io path-mass migration in one
9//! coherent unit.
10//!
11//! Surfaced for next session as part of the `stdlib_io path-mass`
12//! follow-up workstream. The original ValueWord-based async function
13//! bodies have been deleted.
14
15use crate::module_exports::ModuleExports;
16
17/// Register async file-IO functions on the io module. Currently empty
18/// pending the next-session path-mass migration.
19pub fn register_async_file_io(_module: &mut ModuleExports) {
20 // Deferred: io.read_file_async, io.write_file_async, io.append_file_async,
21 // io.read_bytes_async, io.exists_async.
22}