Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArchiveFromGit ¶
func CreateArchiveFromGit( archivePath string, repositoryPath string, inputHash string, ) (int64, error)
CreateArchiveFromGit creates an archive that can be sent to a Runner as an Input from a git repository.
func GetRepositoryPath ¶ added in v1.1.1
GetRepositoryPath returns the path of a problem repository.
func NewInputFactory ¶ added in v1.1.0
func NewInputFactory( problemName string, config *common.Config, ) common.InputFactory
NewInputFactory returns a new InputFactory.
Types ¶
type ProblemInformation ¶ added in v1.1.0
type ProblemInformation struct { InputHash string Settings *common.ProblemSettings }
A ProblemInformation represents information from the problem.
func GetProblemInformation ¶ added in v1.1.0
func GetProblemInformation(repositoryPath string) (*ProblemInformation, error)
GetProblemInformation returns the ProblemInformation obtained from the git repository located at the provided repository path.
Click to show internal directories.
Click to hide internal directories.