stateinterface

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Query(scope activationscope.Scope) (state.State, error)
}

Reader retrive the current state

type Writer

type Writer interface {
	PersistEnabled(scope activationscope.Scope, coauthors []string, previousHooksPath string) error
	PersistDisabled(scope activationscope.Scope) error
}

Writer persist the current state

Jump to

Keyboard shortcuts

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