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