tiny.sql.fileArtifact
Defined in tiny.sql.
Source
Source: lib/sql/src/file.zig:127
zig
pub fn artifact( paths: Paths, index: usize, buffer: *[artifact_path_bytes_max]u8,) Error!?[]const u8 { const path = switch (index) { 0 => paths.database, 1 => paths.wal, 2 => return try walSidecarPath(buffer, paths.wal), else => return try publicationArtifact(paths, index - 3, buffer), }; if (path.len > buffer.len) return error.NameTooLong; @memcpy(buffer[0..path.len], path); return buffer[0..path.len];}Source: lib/sql/src/root.zig:198
zig
pub const fileArtifact = file.artifact;Audit
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |