Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RepositoryIsShallow ¶
RepositoryIsShallow check if the ProjectPath is a shallow repository. A shallow repository is when a repository was cloned using the --depth=N where N is the number of commits that should be cloned.
This git functionality is commonly used by CIs to clone the repository.
For more read https://www.git-scm.com/docs/shallow
Types ¶
Click to show internal directories.
Click to hide internal directories.