Example #1
0
        async internal Task <ImmutableList <GitRef> > LoadActualBranches(string name)
        {
            logger.LogInformation("Load actual branches of {0}", name);
            var refs = await LoadAllGitRefs().ConfigureAwait(false);

            return((from branch in refs
                    where branchIteration.IsBranchIteration(name, branch.Name)
                    select branch).OrderBy(gitRef => gitRef.Name, branchIteration.GetIterationNameComparer(name)).ToImmutableList());
        }