Skip to documentation
SLOP

tiny.sql.writeHistoryRemoteConfig

Reference tiny.sql writeHistoryRemoteConfig

Defined in sync.

Called byCallsprivate sourcelib.sql.src.repository.remoteOwnertest sourcelib.sql.src.synctest: sync remote config stores named...syncencodeRemoteConfigsyncwriteRemoteConfig
Static calls · unresolved targets: 1 · external targets: 5.

Source

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

zig
pub fn writeRemoteConfig(allocator: Allocator, dir: std.Io.Dir, options: RemoteConfigOptions, config: *const RemoteConfig) Error!void {    const bytes = try encodeRemoteConfig(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:119

zig
pub const writeHistoryRemoteConfig = sync.writeRemoteConfig;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433