concurrent

package
v0.0.0-...-aa656b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Try to get some speed up on large repos by running git log in parallel.

Concurrency graph is something like:

      rev writer
          v
         ~q~
          v
       spawner
          v
         ~q2~
   v      v      v
worker  worker  worker ...
      v       v v v          v
  ~results~   waiter       cacher
        |       v
        |     ~errs~
        v    v
         main

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TallyCommits

func TallyCommits(
	ctx context.Context,
	revspec []string,
	pathspecs []string,
	filters cmd.LogFilters,
	configFiles config.SupplementalFiles,
	opts tally.TallyOpts,
	cache cache.Cache,
	allowProgressBar bool,
) (_ map[string]tally.Tally, err error)

func TallyCommitsTimeline

func TallyCommitsTimeline(
	ctx context.Context,
	revspec []string,
	pathspecs []string,
	filters cmd.LogFilters,
	configFiles config.SupplementalFiles,
	opts tally.TallyOpts,
	end time.Time,
	cache cache.Cache,
	allowProgressBar bool,
) ([]tally.TimeBucket, error)

func TallyCommitsTree

func TallyCommitsTree(
	ctx context.Context,
	revspec []string,
	pathspecs []string,
	filters cmd.LogFilters,
	configFiles config.SupplementalFiles,
	opts tally.TallyOpts,
	worktreePaths map[string]bool,
	gitRootPath string,
	cache cache.Cache,
	allowProgressBar bool,
) (*tally.TreeNode, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL