Skip to main content

shape_runtime/stdlib_io/
path_ops.rs

1//! Path utility implementations for the io module.
2//!
3//! Phase 2c partial: registrations DEFERRED. The 5 path utility functions
4//! (io.join, io.dirname, io.basename, io.extension, io.resolve) include
5//! one varargs case (`io.join(parts...)`) that needs a varargs-marshal
6//! sub-cluster decision and one `Array<string>`-input case that needs an
7//! `Array<string>` FromSlot impl (the cluster #3 option β precedent
8//! applies, but `TypedArrayData` has no String variant — the storage
9//! shape is its own architectural call).
10//!
11//! Other 4 functions are mechanical migrations once the varargs decision
12//! lands; they're held with the cluster so the io.join/Array<string>
13//! work doesn't fragment them.
14//!
15//! Surfaced for next session as the `stdlib_io path-mass cluster, varargs
16//! sub-decision` follow-up workstream. The original ValueWord-based
17//! function bodies have been deleted to make the absence visible (per
18//! the bulldozer-pattern precedent — simulation engine deletion, etc.).
19
20use crate::module_exports::ModuleExports;
21
22/// Register path-utility functions on the io module. Currently empty
23/// pending the varargs-marshal decision (see module-level doc comment).
24pub fn register_path_io(_module: &mut ModuleExports) {
25    // Deferred: io.join, io.dirname, io.basename, io.extension, io.resolve.
26}