tiny.sql.fetchHistoryPack
Defined in sync.
Source
Source: lib/sql/src/sync.zig:1370
zig
pub fn fetchPack(allocator: Allocator, local: *history_mod.History, pack: *const Pack, options: FetchOptions) Error!Stats { var stats = try importObjects(local, pack); for (pack.refs) |ref_value| { const name = try fetchRefName(allocator, options.remote, ref_value.name); defer allocator.free(name); try local.putRef(.{ .name = name, .target = ref_value.target, }); stats.refs += 1; } return stats;}Source: lib/sql/src/root.zig:146
zig
pub const fetchHistoryPack = sync.fetchPack;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |