build

package
v0.0.0-...-2ae1b53 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitOptions

type InitOptions struct {
	*mindpack.Metadata
	Path string
}

func (*InitOptions) Validate

func (io *InitOptions) Validate() error

Validate cheks the initializer options

type Packer

type Packer struct{}

func NewPacker

func NewPacker() *Packer

func (*Packer) Init

func (p *Packer) Init(opts *InitOptions) error

Initialize creates a new bundle structure in a directory with minder data

func (*Packer) Write

func (p *Packer) Write(bundle *mindpack.Bundle, w io.Writer) error

Write writes a bundle archive to writer w

func (*Packer) WriteToFile

func (p *Packer) WriteToFile(bundle *mindpack.Bundle, path string) error

Jump to

Keyboard shortcuts

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