IRepositoryInfoProvider.

GetRepositoryRootDirectory(ICakeContext, DirectoryPath) Method

Summary

Returns the root directory of the current repository.

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.
GitHub