graph

package
v0.0.0-...-5262f89 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommit

func NewCommit(commit *object.Commit) *model.Commit

NewCommit returns a commit model from a git commit.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver returns objects from a git repo.

func NewResolver

func NewResolver() (*Resolver, error)

NewResolver creates a resolver from a git repo in the current directory.

func (*Resolver) Blob

func (r *Resolver) Blob() generated.BlobResolver

Blob returns generated.BlobResolver implementation.

func (*Resolver) Commit

func (r *Resolver) Commit() generated.CommitResolver

Commit returns generated.CommitResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

Query returns generated.QueryResolver implementation.

func (*Resolver) TreeEntry

func (r *Resolver) TreeEntry() generated.TreeEntryResolver

TreeEntry returns generated.TreeEntryResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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