gitlfs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package gitlfs owns the content-addressed object layout of Git LFS repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectPath

func ObjectPath(oid string) (string, bool)

ObjectPath is Artifactory's two-level SHA-256 object layout.

func Serves

func Serves(t repo.PackageType) bool

Types

type Handler

type Handler struct{ generic.Handler }

func (Handler) Admit

func (h Handler) Admit(
	ctx context.Context,
	env format.Env,
	c repo.Config,
	w format.Write,
) (format.Write, error)

func (Handler) Reindex

The object tree is the native index. Delete and restore change the batch view directly, so reindex has no derived metadata to rebuild.

Jump to

Keyboard shortcuts

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