gigger

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//VERSION current version number
	VERSION = "1.0"
)

Variables

View Source
var (
	//GitFolderStructure Architecture and content of the Git folder
	GitFolderStructure = map[string]interface{}{
		".git/COMMIT_EDITMSG": true,
		".git/HEAD":           true,
		".git/config":         true,
		".git/description":    true,
		".git/index":          true,
		".git/hooks/": map[string]bool{
			"applypatch-msg.sample":     true,
			"commit-msg.sample":         true,
			"fsmonitor-watchman.sample": true,
			"post-update.sample":        true,
			"pre-applypatch.sample":     true,
			"pre-commit.sample":         true,
			"pre-merge-commit.sample":   true,
			"pre-push.sample":           true,
			"pre-rebase.sample":         true,
			"pre-receive.sample":        true,
			"prepare-commit-msg.sample": true,
			"update.sample":             true,
		},
		".git/info/": map[string]bool{
			"exclude": true,
		},
		".git/logs/": map[string]bool{
			"HEAD":                                   true,
			"refs/heads":                             false,
			"refs/heads/master":                      true,
			"refs/heads/remotes":                     false,
			"refs/heads/remotes/heads":               false,
			"refs/heads/remotes/heads/origin":        false,
			"refs/heads/remotes/heads/origin/master": true,
		},
		".git/objects/": false,
		".git/refs/": map[string]bool{
			"heads":                 false,
			"heads/master":          true,
			"remotes":               false,
			"remotes/origin":        false,
			"remotes/origin/master": true,
			"tags":                  false,
		},
	}
)

Functions

This section is empty.

Types

type Pool

type Pool struct {
	Wg sync.WaitGroup
	// contains filtered or unexported fields
}

func NewPool

func NewPool(conf *config.Config, t *task.Task) (*Pool, error)

func (*Pool) Run

func (p *Pool) Run() error

type URL

type URL struct {
	URL string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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