util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPath

func AbsPath(path string) (string, error)

Types

type Contenxt

type Contenxt struct {
	Ctx context.Context
	FS  vfs.FS
}

type Tar

type Tar struct {
	// contains filtered or unexported fields
}

func NewTar

func NewTar(fs vfs.FS) *Tar

func (*Tar) AddBytes

func (t *Tar) AddBytes(path string, data []byte) *Tar

func (*Tar) AddPath

func (t *Tar) AddPath(path string) *Tar

func (*Tar) Build

func (t *Tar) Build() ([]byte, error)

Jump to

Keyboard shortcuts

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