archive

package
v0.0.0-...-9004d47 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package archive GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tar

type Tar struct {
	task.Task
	// specified dir for tar
	SrcDir wd.WorkDir `json:"srcDir"`
	// tar out filename base on the current work dir
	OutFile file.File `json:"outFile"`
	// created tarfile
	File file.File `json:"-" output:"file"`
}

Tar make a tar archive file of specified dir

func (*Tar) Do

func (t *Tar) Do(ctx context.Context) error

func (Tar) RuntimeDoc

func (v Tar) RuntimeDoc(names ...string) ([]string, bool)

type UnTar

type UnTar struct {
	task.Task

	// tar filename base on the current work outDir
	SrcFile file.File `json:"srcFile"`
	// tar file content encoding
	ContentEncoding string `json:"contentEncoding,omitempty"`
	// output outDir for tar
	OutDir wd.WorkDir `json:"outDir"`
	// final dir contains tar files
	Dir wd.WorkDir `json:"-" output:"dir"`
}

UnTar un tar files into specified outDir

func (*UnTar) Do

func (t *UnTar) Do(ctx context.Context) error

func (UnTar) RuntimeDoc

func (v UnTar) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

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