faketoolexec

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteBash

func ExecuteBash(command string, workDir string, env []string) (stdout string, stderr string, exitCode int, err error)

func ExecuteBashMock

func ExecuteBashMock(command string, mock MockConfig) (stdout string, stderr string, exitCode int)

func ExecuteGrep

func ExecuteGrep(pattern string, searchPath string) (output string, exitCode int, err error)

func ExecuteGrepMock

func ExecuteGrepMock(mock MockConfig) (output string, exitCode int)

func ExecuteRead

func ExecuteRead(path string) (content string, err error)

func ExecuteReadMock

func ExecuteReadMock(mock MockConfig) (content string)

func ExecuteWrite

func ExecuteWrite(path string, content string) error

func ExecuteWriteMock

func ExecuteWriteMock()

Types

type FileChange

type FileChange = types.FileChange

type MockConfig

type MockConfig = types.MockConfig

Jump to

Keyboard shortcuts

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