git

package
v0.4.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogModule added in v0.4.7

func NewLogModule(opt *utils.ModuleOptions) sqlite.Module

NewLogModule returns a new `git log` virtual table

func NewRefModule added in v0.4.7

func NewRefModule(opt *utils.ModuleOptions) sqlite.Module

NewRefModule returns a new virtual table for listing git refs

func Register

func Register(ext *sqlite.ExtensionApi, opt *options.Options) (_ sqlite.ErrorCode, err error)

Register registers git related functionality as a SQLite extension

Types

type CommitFromTagFn

type CommitFromTagFn struct{}

CommitFromTagFn implements the COMMIT_FROM_TAG(...) sql function

func (*CommitFromTagFn) Apply

func (*CommitFromTagFn) Apply(c *sqlite.Context, values ...sqlite.Value)

func (*CommitFromTagFn) Args

func (*CommitFromTagFn) Args() int

func (*CommitFromTagFn) Deterministic

func (*CommitFromTagFn) Deterministic() bool

Directories

Path Synopsis
Package native provides virtual table implementations for git tables using libgit2 via the git2go bindings (https://github.com/libgit2/git2go).
Package native provides virtual table implementations for git tables using libgit2 via the git2go bindings (https://github.com/libgit2/git2go).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL