Пример #1
0
        protected virtual Task <BundleManager> CreateRepoIfNotExistent(ContentPaths modPaths,
                                                                       IEnumerable <KeyValuePair <Guid, Uri[]> > remotes)
        {
            var modPath      = modPaths.Path;
            var synqBasePath = modPaths.RepositoryPath;
            var synqPath     = synqBasePath.GetChildDirectoryWithName(Repository.DefaultRepoRootDirectory);

            return(RepositoryHandler.GetBundleManager(synqPath, modPath, remotes));
        }