public async Task <Config> LoadRepoConfig() { var confData = await File.ReadAllTextAsync(Path.Combine(extractedDir, ArchiveRecorder.RepoConfigPath)); return(new Config { repos = Repos.Parse(confData), }); }
public async Task <Config> LoadRepoConfig() => new Config { repos = Repos.Parse( await RecordRepoConfig(() => File.ReadAllTextAsync(Path.Combine(ConfDir, "repos.toml"), Globals.HeliumEncoding)) ), };