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