native

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package native provides virtual table implementations for git tables using libgit2 via the git2go bindings (https://github.com/libgit2/git2go). Some operations are more performant using libgit2 vs go-git, namely, what's involved in the `stats`, `files` and `blame` tables, which are implemented in this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBlameModule

func NewBlameModule(locator services.RepoLocator, ctx services.Context) sqlite.Module

NewBlameModule returns the implementation of a table-valued-function for accessing git blame

func NewFilesModule

func NewFilesModule(locator services.RepoLocator, ctx services.Context) sqlite.Module

NewFilesModule returns the implementation of a table-valued-function for accessing the content of files in git

func NewStatsModule

func NewStatsModule(locator services.RepoLocator, ctx services.Context) sqlite.Module

NewStatsModule returns the implementation of a table-valued-function for git stats

Types

This section is empty.

Jump to

Keyboard shortcuts

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