Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineChanges ¶
func IsInRepo ¶
IsInRepo determines if the provided directory is in the provided git repository. Git repositories can be named differently on a local clone then the remote. In addition, a git repo can have multiple remotes. In practice though, the business logic question is something like: "Am I in the community repo?". To answer that, this function iterates over the remotes and if any of them have the same name as the one requested, it returns true. Any other case returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.