H.ExecutionEnv.Host.Fs (H v0.3.0)

Copy Markdown View Source

Local host filesystem operations for H.ExecutionEnv.Host: symlink-hop-bounded canonical_path, UTF-8 line scanning, bounded byte reads, atomic file writes, directory listing, and bounded BFS file discovery.

Summary

Functions

canonical_path(cwd, path)

list_dir(cwd, path, opts \\ [])

list_files(cwd, path, opts \\ [])

read_file_bytes(cwd, path, opts \\ [])

read_file_lines(cwd, path, opts \\ [])

resolve_path(cwd, path)

write_file(cwd, path, content)