コード例 #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;
 }