unsupported: Use unsupported() for set_times

This commit is contained in:
Josh Triplett 2025-10-09 06:36:51 -07:00 committed by GitHub
parent 901366af1e
commit f8118d88d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -312,8 +312,8 @@ pub fn set_perm(_p: &Path, perm: FilePermissions) -> io::Result<()> {
match perm.0 {}
}
pub fn set_times(_p: &Path, times: FileTimes) -> io::Result<()> {
match times {}
pub fn set_times(_p: &Path, _times: FileTimes) -> io::Result<()> {
unsupported()
}
pub fn set_times_nofollow(_p: &Path, times: FileTimes) -> io::Result<()> {