/// <summary> /// file/hash/index -> package /// </summary> private Task AddAssemblyToPackageIndexAsync(PackageInput package, ISleetFile indexFile, bool isSymbolsPackage) { var index = new PackageIndexFile(_context, indexFile, persistWhenEmpty: false); if (isSymbolsPackage) { return(index.AddSymbolsPackageAsync(package)); } else { return(index.AddPackageAsync(package)); } }
public Symbols(SleetContext context) { _context = context; PackageIndex = new PackageIndexFile(context, SymbolsIndexUtility.PackageIndexPath, persistWhenEmpty: true); }