Materialise spec for the Node host. Image mounts get a fresh
MemoryFileSystem.fromImage(rootfsImage); scratch mounts get a
HostFileSystem rooted at <sessionDir><spec.path> (the directory
is created with mkdirSync({recursive:true}) so safePath is
happy on first access).
Materialise
specfor the Node host. Image mounts get a freshMemoryFileSystem.fromImage(rootfsImage); scratch mounts get aHostFileSystemrooted at<sessionDir><spec.path>(the directory is created withmkdirSync({recursive:true})sosafePathis happy on first access).Pure function: input → output, no global state.