sourcegit

package
v0.0.0-...-d09b4f8 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Type = "git"
)

Variables

View Source
var (
	SourceTypeGit = &SourceGit{}
)

Functions

This section is empty.

Types

type SourceGit

type SourceGit struct{}

func (*SourceGit) LoadObjects

func (s *SourceGit) LoadObjects(source string, opta seekret.LoadOptions) ([]models.Object, error)

type SourceGitLoadOptions

type SourceGitLoadOptions struct {
	// commit-files: Include commited file content as object.
	CommitFiles bool
	// commit-messages: Include commit contect as object.
	CommitMessages bool
	// staged-files: Include stateg dile contect as object.
	StagedFiles bool

	// commit-count: Ammount of commits to analise.
	CommitCount int
}

Jump to

Keyboard shortcuts

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