Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogModule ¶
func NewLogModule(opt *utils.ModuleOptions) sqlite.Module
NewLogModule returns a new `git log` virtual table
func NewRefModule ¶
func NewRefModule(opt *utils.ModuleOptions) sqlite.Module
NewRefModule returns a new virtual table for listing git refs
Types ¶
type CloneFn ¶ added in v0.5.1
type CloneFn struct {
Options *utils.ModuleOptions
}
CloneFn is essentially a no-op that's useful for cloning remote repos by opening them (and calling the Locator)
func NewCloneFn ¶ added in v0.5.1
func NewCloneFn(opt *utils.ModuleOptions) *CloneFn
NewCloneFn returns a new CloneFn implementation
func (*CloneFn) Deterministic ¶ added in v0.5.1
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). |
Click to show internal directories.
Click to hide internal directories.