Expand description
stemFor: the file stem a name is given inside a module directory, truncated when it would
not fit the tree’s path budget.
Mirrors IR/src/layout/stems.ts:stemFor in ecosystem/morphir-typescript; see
.dev/docs/superpowers/maps/2026-09-17-reference-tree-layout-map.md section 2.2 for the
worked example this is pinned against.
Structs§
- Stem
Result - The stem
stem_forchose for a name, and whether it had to be truncated to fit.
Functions§
- stem_
for - The file stem
nameis given under a module directory whose physical path already carriesphysical_prefix(the root, the module’s directory, and the trailing/) and will carrysuffix(the node kind and the profile’s extension) after it.