package
0.48.0
Repository: https://github.com/jesseduffield/lazygit.git
Documentation: pkg.go.dev

# Functions

CopyDir recursively copies a directory tree, attempting to preserve permissions.
CopyFile copies the contents of the file named src to the file named by dst.
FileType tells us if the file is a file, directory or other.
GetLazygitPath returns the path of the currently executed file.
Kill kills a process.
NewDummyOSCommand creates a new dummy OSCommand for testing.
we use this function when we want to access the functionality of our OS struct but we don't have anywhere to log things, or request input from the user.
NewOSCommand os command runner.
PrepareForChildren sets Setpgid to true on the cmd, so that when we run it as a subprocess, we can kill its group rather than the process itself.

# Constants

in this case we will check for a credential request (i.e.
do not expect a credential request.
expect a credential request and if we get one, prompt the user to enter their username/password.

# Structs

OSCommand holds all the os commands.
Platform stores the os state.

# Interfaces

A command object is a general way to represent a command to be run on the command line.

# Type aliases