package
3.0.0-alpha.9.v2+incompatible
Repository: https://github.com/jamesjoshuahill/cli.git
Documentation: pkg.go.dev
# Functions
DetectPathType determines whether the given path is a directory, a file, or the name of an exercise.
IsNotExist checks if this is an ErrNotExist error.
IsNotInWorkspace checks if this is an ErrNotInWorkspace error.
IsSolutionPath checks whether the given path contains the solution with the given ID.
New returns a configured workspace.
NewSolution reads solution metadata from a file in the given directory.
NewSolutions loads up the solution metadata for each of the provided paths.
NewTransmission processes the arguments to the submit command to prep a submission.
# Constants
TypeDir is a relative or absolute path to a directory.
TypeExerciseID is the name of an exercise.
TypeFile is a relative or absolute path to a file.
# Structs
Solution contains metadata about a user's solution.
Transmission is the data necessary to submit a solution.
Workspace represents a user's Exercism workspace.
# Type aliases
ErrNotExist signals that the target directory could not be located.
ErrNotInWorkspace signals that the target directory is outside the configured workspace.
PathType is either a path to a dir or file, or the name of an exercise.
Solutions is a collection of solutions to interactively choose from.