tiny.sql.readHistoryRemoteConfig
Defined in sync.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |