Skip to content

Commit b39fb32

Browse files
committed
motor: Add new set_times stubs
1 parent c7a635f commit b39fb32

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

library/std/src/sys/fs/motor.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,14 @@ pub fn set_perm(path: &Path, perm: FilePermissions) -> io::Result<()> {
324324
moto_rt::fs::set_perm(path, perm.rt_perm).map_err(map_motor_error)
325325
}
326326

327+
pub fn set_times(_p: &Path, _times: FileTimes) -> io::Result<()> {
328+
unsupported()
329+
}
330+
331+
pub fn set_times_nofollow(_p: &Path, _times: FileTimes) -> io::Result<()> {
332+
unsupported()
333+
}
334+
327335
pub fn readlink(_p: &Path) -> io::Result<PathBuf> {
328336
unsupported()
329337
}

0 commit comments

Comments
 (0)