glfstar

package
v0.0.0-...-6e0c3d8 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Overview

package glfstar converts GLFS to/from TAR

Index

Constants

View Source
const MaxPathLen = 4096

Variables

This section is empty.

Functions

func ReadTAR

func ReadTAR(ctx context.Context, ag *glfs.Agent, s cadata.Poster, tr *tar.Reader) (*glfs.Ref, error)

ReadTAR creates a GLFS filesystem with contents read from tr

func WriteTAR

func WriteTAR(ctx context.Context, ag *glfs.Agent, s cadata.Getter, root glfs.Ref, tw *tar.Writer) error

WriteTAR writes the GLFS filesystem at root to tw.

Types

This section is empty.

Jump to

Keyboard shortcuts

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