Skip to documentation
SLOP

tiny.sql.readHistoryRemoteConfig

Reference tiny.sql readHistoryRemoteConfig

Defined in sync.

Called byCallsprivate sourcelib.sql.src.repository.remoteOwnertest sourcelib.sql.src.synctest: sync remote config stores named...syncdecodeRemoteConfigsyncreadRemoteConfig
Static calls · unresolved targets: 0 · external targets: 2.

Source

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

zig
pub fn readRemoteConfig(allocator: Allocator, dir: std.Io.Dir, options: RemoteConfigOptions) Error!RemoteConfig {    const bytes = dir.readFileAlloc(options.io, options.path, allocator, .limited(options.max_bytes)) catch |err| switch (err) {        error.FileNotFound => {            return .{                .allocator = allocator,                .remotes = &.{},            };        },        else => return err,    };    defer allocator.free(bytes);    return try decodeRemoteConfig(allocator, bytes);}

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

zig
pub const readHistoryRemoteConfig = sync.readRemoteConfig;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433