1package lfs23import (4 "context"5 "io"6)78// TransferBasic is the name of the Git LFS basic transfer protocol.9const TransferBasic = "basic"1011// TransferAdapter represents an adapter for downloading/uploading LFS objects12type TransferAdapter interface {13 Name() string14 Download(ctx context.Context, p Pointer, l *Link) (io.ReadCloser, error)15 Upload(ctx context.Context, p Pointer, r io.Reader, l *Link) error16 Verify(ctx context.Context, p Pointer, l *Link) error17}