| 126 | } |
| 127 | |
| 128 | WasiExpect<void> VINode::pathFilestatSetTimes(std::shared_ptr<VINode> Fd, |
| 129 | std::string_view Path, |
| 130 | __wasi_lookupflags_t Flags, |
| 131 | __wasi_timestamp_t ATim, |
| 132 | __wasi_timestamp_t MTim, |
| 133 | __wasi_fstflags_t FstFlags) { |
| 134 | if (!Fd->can(__WASI_RIGHTS_PATH_FILESTAT_SET_TIMES)) { |
| 135 | return WasiUnexpect(__WASI_ERRNO_NOTCAPABLE); |
| 136 | } |
| 137 | EXPECTED_TRY(auto Buffer, resolvePath(Fd, Path, Flags)); |
| 138 | return Fd->Node.pathFilestatSetTimes(std::string(Path), ATim, MTim, FstFlags); |
| 139 | } |
| 140 | |
| 141 | WasiExpect<void> VINode::pathLink(std::shared_ptr<VINode> Old, |
| 142 | std::string_view OldPath, |
no test coverage detected