Skip to content

A barebones SQL-backed storage implementation for go-git

License

Notifications You must be signed in to change notification settings

emphori/go-git-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
);

About

A barebones SQL-backed storage implementation for go-git

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages