Exemplo n.º 1
0
        public static GSDFunctionalTestEnlistment CloneAndMountWithPerRepoCache(string pathToGvfs, bool skipPrefetch)
        {
            string enlistmentRoot = GSDFunctionalTestEnlistment.GetUniqueEnlistmentRoot();
            string localCache     = GSDFunctionalTestEnlistment.GetRepoSpecificLocalCacheRoot(enlistmentRoot);

            return(CloneAndMount(pathToGvfs, enlistmentRoot, null, localCache, skipPrefetch));
        }
Exemplo n.º 2
0
        public static GSDFunctionalTestEnlistment CloneAndMountEnlistmentWithSpacesInPath(string pathToGvfs, string commitish = null)
        {
            string enlistmentRoot = GSDFunctionalTestEnlistment.GetUniqueEnlistmentRootWithSpaces();
            string localCache     = GSDFunctionalTestEnlistment.GetRepoSpecificLocalCacheRoot(enlistmentRoot);

            return(CloneAndMount(pathToGvfs, enlistmentRoot, commitish, localCache));
        }