| 808 | } |
| 809 | |
| 810 | WasiExpect<void> INode::fdDatasync() const noexcept { |
| 811 | if (unlikely(!FlushFileBuffers(Handle))) { |
| 812 | return WasiUnexpect(detail::fromLastError(GetLastError())); |
| 813 | } |
| 814 | return {}; |
| 815 | } |
| 816 | |
| 817 | WasiExpect<void> INode::fdFdstatGet(__wasi_fdstat_t &FdStat) const noexcept { |
| 818 | if (auto Res = filetype(); unlikely(!Res)) { |
no test coverage detected