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: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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