public static GSDFunctionalTestEnlistment CloneAndMountWithPerRepoCache(string pathToGvfs, bool skipPrefetch) { string enlistmentRoot = GSDFunctionalTestEnlistment.GetUniqueEnlistmentRoot(); string localCache = GSDFunctionalTestEnlistment.GetRepoSpecificLocalCacheRoot(enlistmentRoot); return(CloneAndMount(pathToGvfs, enlistmentRoot, null, localCache, skipPrefetch)); }
public static GSDFunctionalTestEnlistment CloneAndMountEnlistmentWithSpacesInPath(string pathToGvfs, string commitish = null) { string enlistmentRoot = GSDFunctionalTestEnlistment.GetUniqueEnlistmentRootWithSpaces(); string localCache = GSDFunctionalTestEnlistment.GetRepoSpecificLocalCacheRoot(enlistmentRoot); return(CloneAndMount(pathToGvfs, enlistmentRoot, commitish, localCache)); }