Skip to main content

Module Managed

Module Managed 

Source
Expand description

Managed FS atoms - route via Application RunTime’s FileSystemReader/FileSystemWriter trait objects.

Modules§

FileCopy
Legacy wire method file:copy. Non-overwriting.
FileDelete
Legacy wire method file:delete. Non-recursive, non-trash.
FileExists
Legacy wire method file:exists. Returns bool via StatFile probe.
FileMkdir
Legacy wire method file:mkdir. Recursive by default (Arguments[1] honoured when supplied as bool).
FileMove
Legacy wire method file:move. Non-overwriting rename.
FileRead
Legacy wire method file:read (UTF-8 content). Routes via RunTime’s FileSystemReader trait. Not currently wired into dispatch (native variant handles file:read); kept for future per-provider routing.
FileReadBinary
Wire method file:readBinary. Active in dispatch. Routes through the RunTime’s FileSystemReader so VS Code’s VSBuffer.wrap() receives bytes that Mountain’s provider layer has already normalised.
FileReaddir
Legacy wire method file:readdir. Returns raw entries from the RunTime’s FileSystemReader. Not currently wired into dispatch; the native variant serves file:readdir.
FileStat
Legacy wire method file:stat. Not currently wired (native variant handles file:stat). Preserved for provider-routed callers.
FileWrite
Legacy wire method file:write (UTF-8 content). Routes via RunTime’s FileSystemWriter trait. Not currently wired into dispatch.
FileWriteBinary
Wire method file:writeBinary. Active in dispatch. Mirrors the read path: RunTime FileSystemWriter does the actual byte write with create