public bool HasBranchBeenUpdated(string hash) { var manifest = _manifestProvider.GetManifestFromFile(); var hasChanged = !manifest.Ids.Contains(hash); return(hasChanged); }
public override async Task Execute() { await base.Execute(); var manifest = _manifestProvider.GetManifestFromFile(); var data = _dataContainer.BuildData; manifest.Ids.Add(data.Query.Hash); manifest.LastBuildIndex = data.BuildIndex; _manifestProvider.SaveManifestToFile(manifest); Complete(); }