Categorygithub.com/emphori/go-git-sql
modulepackage
0.0.0-20240404114829-af7dc041db83
Repository: https://github.com/emphori/go-git-sql.git
Documentation: pkg.go.dev

# README

go-git-sql

An SQL-backed storage implementation for go-git.

[!WARNING]

This project is currently a work in progress, and may not include the functionality you expect. Please refer to this milestone for more details.

Creating SQL tables

CREATE TABLE IF NOT EXISTS "objects" (
  object_type BIGINT,
  object_hash VARCHAR,
  object_size BIGINT
  cont BYTEA,
);

CREATE TABLE IF NOT EXISTS "refs" (
  ref_type BIGINT,
  ref_hash VARCHAR,
  ref_name VARCHAR,
  target VARCHAR
);

# Packages

No description provided by the author

# Functions

NewStorage creates a new SQL-backed storage interface.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author