# Functions
only used in tests.
No description provided by the author
No description provided by the author
Convert filenames expressed relative to the current directory to be relative to the repo root.
Convert filenames expressed relative to the root of the repo relative to the current working dir.
No description provided by the author
No description provided by the author
DecodeFrom decodes an *lfs.Pointer from the given io.Reader, "reader".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Get user-readable manual install steps for hooks.
No description provided by the author
No description provided by the author
InstallFilters installs filters necessary for git-lfs to process normal git operations.
InstallHooks installs all hooks in the `hooks` var.
Are we running on Windows? Need to handle some extra path shenanigans.
No description provided by the author
No description provided by the author
LocalMediaDir returns the root of lfs objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBatcher creates a Batcher with the batchSize.
No description provided by the author
NewDownloadCheckQueue builds a checking queue, checks that objects are there but doesn't download.
NewDownloadQueue builds a DownloadQueue, allowing concurrent downloads.
No description provided by the author
Construct a new channel wrapper for WrappedPointer Caller can use s.Results directly for normal processing then call Wait() to finish & check for errors Scan function is required to create error channel large enough not to block (usually 1 is ok).
No description provided by the author
No description provided by the author
Construct a new channel wrapper for string Caller can use s.Results directly for normal processing then call Wait() to finish & check for errors.
Construct a new channel wrapper for TreeBlob Caller can use s.Results directly for normal processing then call Wait() to finish & check for errors.
NewUploadable builds the Uploadable from the given information.
NewUploadQueue builds an UploadQueue, allowing `workers` concurrent uploads.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScanIndex returns a slice of WrappedPointer objects for all Git LFS pointers it finds in the index.
No description provided by the author
ScanPreviousVersions scans changes reachable from ref (commit) back to since.
ScanPreviousVersionsToChan scans changes reachable from ref (commit) back to since.
ScanRefs takes a ref and returns a slice of WrappedPointer objects for all Git LFS pointers it finds for that ref.
ScanRefsToChan takes a ref and returns a channel of WrappedPointer objects for all Git LFS pointers it finds for that ref.
ScanTree takes a ref and returns a slice of WrappedPointer objects in the tree at that ref Differs from ScanRefs in that multiple files in the tree with the same content are all reported.
ScanUnpushed scans history for all LFS pointers which have been added but not pushed to the named remote.
ScanUnpushedToChan scans history for all LFS pointers which have been added but not pushed to the named remote.
No description provided by the author
No description provided by the author
UninstallFilters proxies into the Uninstall method on the Filters type to remove all installed filters.
UninstallHooks removes all hooks in range of the `hooks` var.
# Constants
include '+' diffs.
include '-' diffs.
No description provided by the author
No description provided by the author
most likely a *nix variant e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
0 - or default scan mode.
No description provided by the author
# Variables
No description provided by the author
# Structs
Attribute wraps the structure and some operations of Git's conception of an "attribute", as defined here: http://git-scm.com/docs/gitattributes.
Base implementation of channel wrapper to just deal with errors.
Batcher provides a way to process a set of items in groups of n.
No description provided by the author
A Hook represents a githook as described in http://git-scm.com/docs/githooks.
InstallOptions serves as an argument to Install().
No description provided by the author
ChannelWrapper for pointer Scan* functions to more easily return async error data via Wait() See NewPointerChannelWrapper for construction / use.
A PointerExtension is parsed from the Git LFS Pointer file.
No description provided by the author
ChannelWrapper for string channel functions to more easily return async error data via Wait() Caller can use s.Results directly for normal processing then call Wait() to finish & check for errors See NewStringChannelWrapper for construction / use.
TransferQueue organises the wider process of uploading and downloading, including calling the API, passing the actual transfer request to transfer adapters, and dealing with progress, errors and retries.
An entry from ls-tree or rev-list including a blob sha and tree path.
ChannelWrapper for TreeBlob channel functions to more easily return async error data via Wait() See NewTreeBlobChannelWrapper for construction / use.
Uploadable describes a file that can be uploaded.
WrappedPointer wraps a pointer.Pointer and provides the git sha1 and the file name associated with the object, taken from the rev-list output.
# Interfaces
Interface for all types of wrapper around a channel of results and an error channel Implementors will expose a type-specific channel for results Call the Wait() function after processing the results channel to catch any errors that occurred during the async processing.
No description provided by the author
# Type aliases
No description provided by the author
When scanning diffs e.g.
No description provided by the author
No description provided by the author