objekte_format

package
v0.0.0-...-1c9a7a8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format interface {
	Formatter
	Parser
}

func Default

func Default() Format

func FormatForVersion

func FormatForVersion(v schnittstellen.StoreVersion) Format

func FormatForVersions

func FormatForVersions(write, read schnittstellen.StoreVersion) Format

func MakeBespoke

func MakeBespoke(f Formatter, p Parser) Format

type Formatter

type Formatter interface {
	FormatPersistentMetadatei(
		io.Writer,
		FormatterContext,
		Options,
	) (int64, error)
}

type FormatterContext

type FormatterContext interface {
	metadatei.PersistentFormatterContext
	GetKennungLike() kennung.Kennung
}

type Getter

type Getter interface {
	GetPersistentMetadateiFormat() Format
}

type Options

type Options struct {
	IncludeTai           bool
	IncludeVerzeichnisse bool
}

func (Options) SansVerzeichnisse

func (o Options) SansVerzeichnisse() Options

type Parser

type Parser interface {
	ParsePersistentMetadatei(
		io.Reader,
		ParserContext,
		Options,
	) (int64, error)
}

type ParserContext

type ParserContext interface {
	metadatei.PersistentParserContext
	SetKennungLike(kennung.Kennung) error
}

Jump to

Keyboard shortcuts

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