Files
Claude 60dfe2068d Implement mock_access() for simulation file existence checks
mock_access() uses mockfs_open(RDONLY) to probe whether a path exists
in the mock filesystem, then immediately closes the handle. Directories
are detected via the MOCKFS_ERRNO_ISDIR return from mockfs_open.
This prevents the simulation from falling back to file_open(O_CREAT),
which would create empty files as a side effect and corrupt chunk data.

https://claude.ai/code/session_01YJnNDYw8JVb4HPSMf9rpuS
2026-02-22 15:32:33 +00:00
..
2026-02-20 16:55:29 +01:00