state

package
v0.0.0-...-3ee5860 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystemState

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

func (*FileSystemState) IntroSeen

func (s *FileSystemState) IntroSeen() bool

func (*FileSystemState) MarkIntroSeen

func (s *FileSystemState) MarkIntroSeen()

type NullState

type NullState struct{}

func (*NullState) IntroSeen

func (s *NullState) IntroSeen() bool

func (*NullState) MarkIntroSeen

func (s *NullState) MarkIntroSeen()

type State

type State interface {
	MarkIntroSeen()
	IntroSeen() bool
}

State describes local state that persists between runs.

func NewState

func NewState() State

Jump to

Keyboard shortcuts

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