Skip to documentation
SLOP

tiny.sql.LifecycleReadOpened

Reference tiny.sql LifecycleReadOpened

Defined in lifecycle.

API (8)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callslifecycleReadOpened
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/sql/src/lifecycle.zig:255

zig
pub const ReadOpened = struct {    allocator: Allocator,    workspace: *Workspace,    workspace_owned: bool = false,    file: *file_mod.ReadOnlyDatabase,    catalog: catalog_mod.Reader,    head: version.Hash,    root: version.Hash,    pub fn deinit(self: *ReadOpened) void {        const allocator = self.allocator;        const workspace = self.workspace;        const workspace_owned = self.workspace_owned;        self.file.deinit();        self.allocator.destroy(self.file);        if (workspace_owned) {            workspace.deallocate(allocator);            allocator.destroy(workspace);        }        self.* = undefined;    }};

Source: lib/sql/src/root.zig:92

zig
pub const LifecycleReadOpened = lifecycle.ReadOpened;

Audit

Definitions2
Public names4
Members7
Version26.7.0
Revisiondaab053ee433