# Functions
Create creates a new Workspace in the current working directory for appName with summary if it doesn't already exist.
IsEmptyErr returns true if the error is related to an empty workspace.
IsInGitRepository returns true if the current working directory is a git repository.
TraverseUp traverses at most `maxLevels` up from the starting directory, invoke TraverseUpProcessFn at each level, and returns the value that it gets TraverseUpProcessFn process upon receiving an ErrTraverseUpShouldStop signal.
Use returns an existing workspace, searching for a copilot/ directory from the current wd, up to 5 levels above.
# Constants
AddonsParametersFileName is the name of the file that define extra parameters for an addon.
CopilotDirName is the name of the directory where generated infrastructure code for an application will be stored.
SummaryFileName is the name of the file that is associated with the application.
# Variables
ErrNoPipelineInWorkspace means there was no pipeline manifest in the workspace dir.
ErrTraverseUpShouldStop signals that TraverseUp should stop.
# Structs
ErrFileExists means we tried to create an existing file.
ErrFileNotExists means we tried to read a non-existing file.
ErrNoAssociatedApplication means we couldn't locate a workspace summary file.
ErrTargetNotFound means that we couldn't locate the target file or the target directory.
ErrWorkspaceNotFound means we couldn't locate a workspace root.
PipelineManifest holds identifying information about a pipeline manifest file.
Summary is a description of what's associated with this workspace.
Workspace typically represents a Git repository where the user has its infrastructure-as-code files as well as source files.
# Interfaces
FileStat wraps the os.Stat function.
# Type aliases
EnvironmentManifest represents raw local environment manifest.
TraverseUpProcessFn represents a function that TraverseUp invokes at each level of traversal.
WorkloadManifest represents raw local workload manifest.