Example #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));
        }
Example #2
0
 public static void Initialize()
 {
     GVFSPlatform.Register(new WindowsPlatform());
 }
Example #3
0
 public void SetUp()
 {
     GVFSPlatform.Register(new MockPlatform());
 }
 public static void Initialize()
 {
     GVFSPlatform.Register(new LinuxPlatform());
 }
Example #5
0
 public static void Initialize()
 {
     GVFSPlatform.Register(new MacPlatform());
     return;
 }