Skip to documentation
SLOP

tiny.sql.writeHistoryBranchUpstreamConfig

Reference tiny.sql writeHistoryBranchUpstreamConfig

Defined in sync.

Called byCallstest sourcelib.sql.src.synctest: sync branch upstream config sto...syncencodeBranchUpstreamConfigsyncwriteBranchUpstreamConfig
Static calls · unresolved targets: 1 · external targets: 5.

Source

Source: lib/sql/src/sync.zig:640

zig
pub fn writeBranchUpstreamConfig(allocator: Allocator, dir: std.Io.Dir, options: BranchUpstreamOptions, config: *const BranchUpstreamConfig) Error!void {    const bytes = try encodeBranchUpstreamConfig(allocator, config);    defer allocator.free(bytes);    var out = try dir.createFile(options.io, options.path, .{ .read = true, .truncate = true });    defer out.close(options.io);    try out.writePositionalAll(options.io, bytes, 0);    try out.setLength(options.io, bytes.len);    try out.sync(options.io);}

Source: lib/sql/src/root.zig:123

zig
pub const writeHistoryBranchUpstreamConfig = sync.writeBranchUpstreamConfig;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433