Summary
Returns the root directory of the current repository.
- Assembly
- Cake
.Frosting .Issues .Recipe .dll - Namespace
- Cake
.Frosting .Issues .Recipe - Containing Type
- I
Repository Info Provider
Syntax
DirectoryPath GetRepositoryRootDirectory(ICakeContext context, DirectoryPath buildRootDirectory)
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The Cake context. |
buildRootDirectory | DirectoryPath | Root directory of the build script. |
Return Value
Type | Description |
---|---|
DirectoryPath | The root directory of the current repository. |