fn addBytesToSource(wf: *WriteFile, bytes: []const u8, sub_path: []const u8) void

A path relative to the package root. Be careful with this because it updates source files. This should not be used as part of the normal build process, but as a utility occasionally run by a developer with intent to modify source files and then commit those changes to version control.

Parameters

wf: *WriteFile,
bytes: []const u8,
sub_path: []const u8,