fn renameZ(self: Dir, old_sub_path_z: [*:0]const u8, new_sub_path_z: [*:0]const u8) RenameError!void

Same as rename except the parameters are null-terminated.

Parameters

self: Dir,
old_sub_path_z: [*:0]const u8,
new_sub_path_z: [*:0]const u8,