history

package
v0.76.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 2 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

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeShellHistoryProvider

type FakeShellHistoryProvider struct {
	GetHistoryFileStub func() string

	LoadHistoryStub func() ([]string, error)

	SaveToHistoryStub func(string) error
	// contains filtered or unexported fields
}

func (*FakeShellHistoryProvider) GetHistoryFile

func (fake *FakeShellHistoryProvider) GetHistoryFile() string

func (*FakeShellHistoryProvider) GetHistoryFileCallCount

func (fake *FakeShellHistoryProvider) GetHistoryFileCallCount() int

func (*FakeShellHistoryProvider) GetHistoryFileCalls

func (fake *FakeShellHistoryProvider) GetHistoryFileCalls(stub func() string)

func (*FakeShellHistoryProvider) GetHistoryFileReturns

func (fake *FakeShellHistoryProvider) GetHistoryFileReturns(result1 string)

func (*FakeShellHistoryProvider) GetHistoryFileReturnsOnCall

func (fake *FakeShellHistoryProvider) GetHistoryFileReturnsOnCall(i int, result1 string)

func (*FakeShellHistoryProvider) Invocations

func (fake *FakeShellHistoryProvider) Invocations() map[string][][]interface{}

func (*FakeShellHistoryProvider) LoadHistory

func (fake *FakeShellHistoryProvider) LoadHistory() ([]string, error)

func (*FakeShellHistoryProvider) LoadHistoryCallCount

func (fake *FakeShellHistoryProvider) LoadHistoryCallCount() int

func (*FakeShellHistoryProvider) LoadHistoryCalls

func (fake *FakeShellHistoryProvider) LoadHistoryCalls(stub func() ([]string, error))

func (*FakeShellHistoryProvider) LoadHistoryReturns

func (fake *FakeShellHistoryProvider) LoadHistoryReturns(result1 []string, result2 error)

func (*FakeShellHistoryProvider) LoadHistoryReturnsOnCall

func (fake *FakeShellHistoryProvider) LoadHistoryReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeShellHistoryProvider) SaveToHistory

func (fake *FakeShellHistoryProvider) SaveToHistory(arg1 string) error

func (*FakeShellHistoryProvider) SaveToHistoryArgsForCall

func (fake *FakeShellHistoryProvider) SaveToHistoryArgsForCall(i int) string

func (*FakeShellHistoryProvider) SaveToHistoryCallCount

func (fake *FakeShellHistoryProvider) SaveToHistoryCallCount() int

func (*FakeShellHistoryProvider) SaveToHistoryCalls

func (fake *FakeShellHistoryProvider) SaveToHistoryCalls(stub func(string) error)

func (*FakeShellHistoryProvider) SaveToHistoryReturns

func (fake *FakeShellHistoryProvider) SaveToHistoryReturns(result1 error)

func (*FakeShellHistoryProvider) SaveToHistoryReturnsOnCall

func (fake *FakeShellHistoryProvider) SaveToHistoryReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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