package
1.5.0
Repository: https://github.com/openshift/source-to-image.git
Documentation: pkg.go.dev

# Functions

CreateEmptyLocalGitDirectory creates a git directory with no checkin yet.
CreateLocalGitDirectory creates a git directory with a commit.
CreateLocalGitDirectoryWithSubmodule creates a git directory with a submodule.
HasGitBinary checks if the 'git' binary is available on the system.
IsLocalNonBareGitRepository returns true if dir hosts a non-bare git repository, i.e.
LocalNonBareGitRepositoryIsEmpty returns true if the non-bare git repository at dir has no refs or objects.
MustParse parses a "Git URL" and panics on failure.
New returns a new instance of the default implementation of the Git interface.
Parse parses a "Git URL".

# Constants

URLTypeLocal is the local type (see above).
URLTypeSCP is the SCP type (see above).
URLTypeURL is the URL type (see above).

# Structs

CloneConfig specifies the options used when cloning the application source code.
SourceInfo stores information about the source code.
URL represents a "Git URL".

# Interfaces

Git is an interface used by main STI code to extract/checkout git repositories.

# Type aliases

URLType indicates the type of the URL (see above).