| ... | ... | @@ -1993,7 +1993,7 @@ pub fn setFileOwner( |
| 1993 | 1993 | owner: ?File.Uid, |
| 1994 | 1994 | group: ?File.Gid, |
| 1995 | 1995 | options: SetFileOwnerOptions, |
| 1996 | | ) SetOwnerError!void { |
| 1996 | ) SetFileOwnerError!void { |
| 1997 | 1997 | return io.vtable.dirSetFileOwner(io.userdata, dir, sub_path, owner, group, options); |
| 1998 | 1998 | } |
| 1999 | 1999 | |
| ... | ... | @@ -2032,9 +2032,14 @@ pub fn setTimestampsNow( |
| 2032 | 2032 | sub_path: []const u8, |
| 2033 | 2033 | options: SetTimestampsNowOptions, |
| 2034 | 2034 | ) SetTimestampsError!void { |
| 2035 | | return io.vtable.fileSetTimestamps(io.userdata, dir, sub_path, .{ |
| 2035 | return io.vtable.dirSetTimestamps(io.userdata, dir, sub_path, .{ |
| 2036 | 2036 | .follow_symlinks = options.follow_symlinks, |
| 2037 | 2037 | .access_timestamp = .now, |
| 2038 | 2038 | .modify_timestamp = .now, |
| 2039 | 2039 | }); |
| 2040 | 2040 | } |
| 2041 | |
| 2042 | test { |
| 2043 | _ = &setFileOwner; |
| 2044 | _ = &setTimestampsNow; |
| 2045 | } |