| 320 | } |
| 321 | |
| 322 | int __syscall_fdatasync(int fd) { |
| 323 | // TODO: Optimize this to avoid unnecessarily flushing unnecessary metadata. |
| 324 | return __wasi_fd_sync(fd); |
| 325 | } |
| 326 | |
| 327 | backend_t wasmfs_get_backend_by_fd(int fd) { |
| 328 | auto openFile = wasmFS.getFileTable().locked().getEntry(fd); |
nothing calls this directly
no test coverage detected