示例#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));
        }
示例#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));
        }