updater

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package updater contains the self-update implementation for the lefthook executable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Yes     bool
	Force   bool
	ExePath string
}

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func New

func New() *Updater

func (*Updater) SelfUpdate

func (u *Updater) SelfUpdate(ctx context.Context, opts Options) error

Jump to

Keyboard shortcuts

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