Documentation
¶
Overview ¶
Package archive is data a work carries: files with their paths, like the code of a small program, made into a zip.
Index ¶
- Variables
- type File
- type Files
- type Format
- func (Format) CleanData(raw json.RawMessage) (json.RawMessage, error)
- func (Format) DataHelp() string
- func (Format) DataSchema() map[string]any
- func (Format) Describe() string
- func (Format) Ext() string
- func (Format) MediaType() string
- func (Format) Name() string
- func (Format) Needs() string
- func (Format) Render(w memory.Work, _ string) ([]byte, error)
- func (Format) WriteHelp() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmpty = errors.New("archive: no files with a path that can be kept")
Functions ¶
This section is empty.
Types ¶
type Format ¶
type Format struct{}
func (Format) CleanData ¶
func (Format) CleanData(raw json.RawMessage) (json.RawMessage, error)
func (Format) DataSchema ¶
Click to show internal directories.
Click to hide internal directories.