DoxigAlpha

printToFilePath

Function parameters

Parameters

#
b:*Builder
dir:std.fs.Dir
path:[]const u8

Type definitions in this namespace

Types

#

Functions in this namespace

Functions

#

= 16

Values

#

Source

Implementation

#
pub fn printToFilePath(b: *Builder, dir: std.fs.Dir, path: []const u8) !void {
    var buffer: [4000]u8 = undefined;
    const file = try dir.createFile(path, .{});
    defer file.close();
    try b.printToFile(file, &buffer);
}