Referencia Zigconduit-zig (SDK consumido)

zig/root.zig

Declaraciones públicas de zig/root.zig (conduit-zig (SDK consumido)).

ImplementadoSin versión del tren todavía· generada desde apps/docs/generated/zig/conduit.json

Página generada desde conduit@conduit-0.1.0-f7J_7zg5DwCsHBHItwdOz9ZVq8cvH7ceFsk7-m3-T61t (zig/root.zig). No se edita a mano: bun run docs:gen la regenera y bun run docs:check falla si difiere.

conduit — Zig SDK of the conduit upload protocol (wire v1).

  • wire: the codec (spec/wire-v1.md), shared by client and server;
  • client: the sans-IO upload state machine;
  • server: the transport-agnostic receiving side (styx's IngestSink);
  • driver: runs a client.Upload with threads, a source and a transport;
  • http: HTTP/1.1 bindings (reference server, std.http.Client transport);
  • loopback: in-process transport for tests of server wiring;
  • resume_state: on-disk resume record of a client upload (CLI, hosts);
  • dedup: wire v2 dedup domains and the index have consults (server);
  • blobs: wire v2 mode blobs — manifest, bitmaps, receiver session, sender plan.
  • zstd: Content-Encoding: zstd of wire v2 (encoder, bounded decoder, policy).
  • storage: staging space reservation, direct I/O and durability (server).
  • wire_v2: the wire v2 codec (spec/wire-v2.md: create, session, status, complete, Conduit-Chunk-Cv), for consumers that build or check v2 requests themselves (tests, hosts with their own transport);
  • blake3_tree: the BLAKE3 tree of wire v2 §3 (chunk CVs, roots, outboard, verified slices), the API std.crypto.hash.Blake3 lacks.

version

const · línea 20

pub const version = "0.1.0"

Sin ///.

wire

namespace · línea 22

pub const wire = @import("wire.zig")

Sin ///.

client

namespace · línea 23

pub const client = @import("client.zig")

Sin ///.

server

namespace · línea 24

pub const server = @import("server.zig")

Sin ///.

driver

namespace · línea 25

pub const driver = @import("driver.zig")

Sin ///.

http

namespace · línea 26

pub const http = @import("http.zig")

Sin ///.

loopback

namespace · línea 27

pub const loopback = @import("loopback.zig")

Sin ///.

resume_state

namespace · línea 28

pub const resume_state = @import("resume_state.zig")

Sin ///.

dedup

namespace · línea 29

pub const dedup = @import("dedup.zig")

Sin ///.

blobs

namespace · línea 30

pub const blobs = @import("blobs.zig")

Sin ///.

zstd

namespace · línea 31

pub const zstd = @import("zstd.zig")

Sin ///.

storage

namespace · línea 32

pub const storage = @import("storage.zig")

Sin ///.

wire_v2

namespace · línea 33

pub const wire_v2 = @import("wire_v2.zig")

Sin ///.

blake3_tree

namespace · línea 34

pub const blake3_tree = @import("blake3_tree.zig")

Sin ///.