Documentation ¶
Overview ¶
Package cmd exposes the CLI for Unstaged.
Copyright 2019 Jose R. Gonzalez. All rights reserved. Use of this source code is governed by the MIT license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenReposAndFilter ¶
func OpenReposAndFilter(u Repolist) (Repolist, ReposWithErrors)
OpenReposAndFilter will check that we can open a path and that it represents a git repository.
Types ¶
type RepoFileInput ¶
type RepoFileInput struct {
R Repolist `yaml:"repos"`
}
RepoFileInput is used to unmarshal the yaml structure.
type RepoWithErrors ¶
type RepoWithErrors struct {
// contains filtered or unexported fields
}
RepoWithErrors takes our Repo path and stores the error object encountered.
type ReposWithErrors ¶
type ReposWithErrors []RepoWithErrors
ReposWithErrors is a slice containing multiple RepoWithErrors types.
Click to show internal directories.
Click to hide internal directories.