Function gitoxide_core::hours::estimate[][src]

pub fn estimate<W, P>(
    working_dir: &Path,
    refname: &OsStr,
    progress: P,
    _: Context<W>
) -> Result<()> where
    W: Write,
    P: Progress, 

Estimate the hours it takes to produce the content of the repository in _working_dir_, with _refname_ for the start of the commit graph traversal.

  • working_dir - The directory containing a ‘.git/’ folder.
  • refname - The name of the ref like ‘main’ or ‘master’ at which to start iterating the commit graph.
  • progress - A way to provide progress and performance information