mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 03:40:45 +08:00
12 lines
256 B
C#
12 lines
256 B
C#
namespace SourceGit.Commands
|
|
{
|
|
public class QueryRepositoryRootPath : Command
|
|
{
|
|
public QueryRepositoryRootPath(string path)
|
|
{
|
|
WorkingDirectory = path;
|
|
Args = "rev-parse --show-toplevel";
|
|
}
|
|
}
|
|
}
|