Exemplo n.º 1
0
        private GVFSEnlistment CreateEnlistment(string enlistmentRootPath)
        {
            GVFSPlatform.Register(new WindowsPlatform());
            string gitBinPath = GVFSPlatform.Instance.GitInstallation.GetInstalledGitBinPath();
            string hooksPath  = ProcessHelper.WhereDirectory(GVFSConstants.GVFSHooksExecutableName);

            return(GVFSEnlistment.CreateFromDirectory(enlistmentRootPath, gitBinPath, hooksPath));
        }
Exemplo n.º 2
0
 public static void Initialize()
 {
     GVFSPlatform.Register(new WindowsPlatform());
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     GVFSPlatform.Register(new MockPlatform());
 }
 public static void Initialize()
 {
     GVFSPlatform.Register(new LinuxPlatform());
 }
Exemplo n.º 5
0
 public static void Initialize()
 {
     GVFSPlatform.Register(new MacPlatform());
     return;
 }