package
2.5.2+incompatible
Repository: https://github.com/saracen/git-lfs.git
Documentation: pkg.go.dev

# Functions

NewRewriter constructs a *Rewriter from the given *ObjectDatabase instance.

# Variables

WithFilter is an optional argument given to the NewRewriter constructor function to limit invocations of the BlobRewriteFn to only pathspecs that match the given *filepathfilter.Filter.
WithLogger logs updates caused by the *git/githistory.Rewriter to the be given to the provided logger, "l".
WithLoggerto logs updates caused by the *git/githistory.Rewriter to the given io.Writer "sink".

# Structs

RewriteOptions is an options type given to the Rewrite() function.
Rewriter allows rewriting topologically equivalent Git histories between two revisions.

# Type aliases

BlobRewriteFn is a mapping function that takes a given blob and returns a new, modified blob.
TreeCallbackFn specifies a function to call before writing a re-written tree to the object database.
TreePreCallbackFn specifies a function to call upon opening a new tree for rewriting.