IGitRepositoryInfo Interface

Summary

Provides paths describing the layout of the Git repository on disk.
Namespace
GitVersion.Git
Implementing Types
graph BT Type["IGitRepositoryInfo"] class Type type-node Implementing0["GitRepositoryInfo"]-.->Type click Implementing0 "/api/GitVersion.Git/GitRepositoryInfo"

Syntax

public interface IGitRepositoryInfo

Properties

Name Value Summary
DotGitDirectory string
Gets the path to the .git directory, or null when not yet discovered.
DynamicGitRepositoryPath string
Gets the path to the dynamically created Git repository used for shallow-clone scenarios, or null when not applicable.
GitRootPath string
Gets the root path of the Git working tree, or null when not yet discovered.
ProjectRootDirectory string
Gets the path to the project root directory (the directory that contains the solution or project file), or null when not determined.

Extension Methods

Name Value Summary
NotNull<IGitRepositoryInfo>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub