constants

package
v0.0.0-...-14dca07 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GlobalConfigPath is the identifier for the global path of the config file.
	// This file is located in user folder '~/fisherman.yaml'.
	GlobalConfigPath = "GlobalConfigPath"
	// LocalConfigPath is the identifier for the local path of the config file.
	// This configuration file is located in the .git folder of the repository.
	// This file will not be included in the repository index.
	LocalConfigPath = "LocalConfigPath"
	// RepoConfigPath is the identifier for the repository level path of the config file.
	// This configuration file is located in the repository and it will be included in the repository index.
	RepoConfigPath = "RepoConfigPath"
	// HookName is constant for identification name of current hook in template.
	HookName = "HookName"
)
View Source
const (
	// UserEmailVariable is global UserEmail constant name.
	UserEmailVariable = "UserEmail"
	// UserNameVariable is global UserName constant name.
	UserNameVariable = "UserName"
	// FishermanVersionVariable is global FishermanVersion constant name.
	FishermanVersionVariable = "FishermanVersion"
	// CwdVariable is global CWD constant name.
	CwdVariable = "CWD"
	// BranchNameVariable is global BranchName constant name.
	BranchNameVariable = "BranchName"
	// TagVariable is global TagName constant name.
	TagVariable = "TagName"
	// OsVariable is global operation system constant name.
	OsVariable = "OS"
)
View Source
const AppName = "fisherman"

AppName is a binary file name.

View Source
const ConfigurationDocksURL = "https://fisherman.netlify.app/docs"

ConfigurationDocksURL is url to main docs page.

View Source
const ConfigurationFilesDocksURL = "https://fisherman.netlify.app/docs/configuration/configuration-files"

ConfigurationFilesDocksURL is url to configuration files page.

View Source
const ConfigurationInheritanceURL = "https://fisherman.netlify.app/docs/configuration/configuration-files#configuration-file-inheritance"

ConfigurationInheritanceURL is url to configuration inheritance page.

Variables

View Source
var (
	ApplypatchMsgHook        = "applypatch-msg"
	PreApplypatchHook        = "pre-applypatch"
	PostApplypatchHook       = "post-applypatch"
	PreCommitHook            = "pre-commit"
	PreMergeCommitHook       = "pre-merge-commit"
	PrepareCommitMsgHook     = "prepare-commit-msg"
	CommitMsgHook            = "commit-msg"
	PostCommitHook           = "post-commit"
	PreRebaseHook            = "pre-rebase"
	PostCheckoutHook         = "post-checkout"
	PostMergeHook            = "post-merge"
	PrePushHook              = "pre-push"
	PreReceiveHook           = "pre-receive"
	UpdateHook               = "update"
	ProcReceiveHook          = "proc-receive"
	PostReceiveHook          = "post-receive"
	PostUpdateHook           = "post-update"
	ReferenceTransactionHook = "reference-transaction"
	PushToCheckoutHook       = "push-to-checkout"
	PreAutoGcHook            = "pre-auto-gc"
	PostRewriteHook          = "post-rewrite"
	SendemailValidateHook    = "sendemail-validate"
	FsmonitorWatchmanHook    = "fsmonitor-watchman"
	P4ChangelistHook         = "p4-changelist"
	P4PrepareChangelistHook  = "p4-prepare-changelist"
	P4PostChangelistHook     = "p4-post-changelist"
	P4PreSubmitHook          = "p4-pre-submit"
	PostIndexChangeHook      = "post-index-change"
)
View Source
var AppConfigNames = []string{
	".fisherman.yaml",
	".fisherman.yml",
}

AppConfigNames is allowed config names.

View Source
var HookHeader = `` /* 335-byte string literal not displayed */

HookHeader is a graphic with hook and configuration information.

HooksNames is list on supported hooks.

View Source

Logo is a logotype of fisherman.

View Source
var Version = "x.x.x"

Version is version string of binary.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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