git

package
v0.5.7-RC1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: MPL-2.0 Imports: 0 Imported by: 0 modules, 0 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitConfig

type GitConfig struct {
	Livereload *GitLivereloadConfig `yaml:"livereload"`
}

GitConfig represents the Git configuration

func (*GitConfig) Copy

func (c *GitConfig) Copy() *GitConfig

Copy creates a deep copy of the GitConfig object

func (*GitConfig) Merge

func (base *GitConfig) Merge(overlay *GitConfig)

Merge performs a deep merge of the current GitConfig with another GitConfig.

type GitLivereloadConfig

type GitLivereloadConfig struct {
	Enabled      *bool   `yaml:"enabled"`
	RsyncExclude *string `yaml:"rsync_exclude,omitempty"`
	RsyncProtect *string `yaml:"rsync_protect,omitempty"`
	Username     *string `yaml:"username,omitempty"`
	Password     *string `yaml:"password,omitempty"`
	WebhookUrl   *string `yaml:"webhook_url,omitempty"`
	VerifySsl    *bool   `yaml:"verify_ssl,omitempty"`
	Image        *string `yaml:"image,omitempty"`
}

GitLivereloadConfig represents the Git livereload configuration

Jump to

Keyboard shortcuts

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