mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-27 00:28:14 +00:00
The Dinkumware std::filesystem in titles calls twelve low-level helpers that libSceLibcInternal exports and this project did not: _Stat, _Lstat, _File_size, _Last_write_time, _Make_dir, _Remove_dir, _Unlink, _Chmod, _Current_get, _Open_dir, _Read_dir and _Close_dir. They now follow the PS5 12.00 module on top of the guest stat, mkdir, rmdir, unlink, chmod, getcwd and directory calls, with its results: file_type codes from the mode, not_found for ENOENT, ENOTDIR, EINVAL and ENAMETOOLONG, mkdir's 1/0/-errno, -1 for a failed size, and directory reads that skip the dot entries and report the type as unknown. As on the console, _Lstat follows links like _Stat. The two _Xfilesystem_error overloads are exported and still throw, as the guest filesystem_error type is not provided yet. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RbLgECLQ2bpDM7oe2urGZK