fetch

package
v0.0.0-...-f23ab5e Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchBlobNonePackfile

func FetchBlobNonePackfile(ctx context.Context, repoURL string, client *http.Client, oids []plumbing.Hash, depth int) ([]byte, debug.FetchDebugInfo, error)

FetchBlobNonePackfile fetches a packfile from a remote repository without blobs.

func FetchBlobPackfile

func FetchBlobPackfile(ctx context.Context, repoURL string, client *http.Client, oids []plumbing.Hash) ([]byte, debug.FetchDebugInfo, error)

FetchBlobPackfile fetches a packfile from a remote repository for blobs.

func FetchCommitOnlyPackfile

func FetchCommitOnlyPackfile(ctx context.Context, repoURL string, client *http.Client, wantOids, haveOids []plumbing.Hash, depth int) ([]byte, debug.FetchDebugInfo, error)

FetchCommitOnlyPackfile fetches a packfile from a remote repository with only commit objects.

func LsRefs

func LsRefs(ctx context.Context, repoURL string, client *http.Client, refPrefixes []string) ([]string, http.Header, error)

LsRefs fetches a refs from a remote repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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