tiny.sql.createHistoryFetchRequest
Defined in sync.
Source
Source: lib/sql/src/sync.zig:729
zig
pub fn fetchRequestFromHistory(allocator: Allocator, local: *const history_mod.History, wants: []const []const u8) Error!FetchRequest { const entries = try local.commitEntries(allocator); defer allocator.free(entries); const haves = try allocator.alloc(version.Hash, entries.len); defer allocator.free(haves); for (entries, haves) |entry, *hash| hash.* = entry.hash; return try FetchRequest.init(allocator, wants, haves);}Source: lib/sql/src/root.zig:128
zig
pub const createHistoryFetchRequest = sync.fetchRequestFromHistory;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |