kennung_fmt

package
v0.0.0-...-381c4e2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeEtikettenCliFormat

func MakeEtikettenCliFormat() (f *etikettenCliFormat)

func MakeEtikettenReader

func MakeEtikettenReader() (f *etikettenReader)

func MakeFDCliFormat

func MakeFDCliFormat(
	co string_format_writer.ColorOptions,
	relativePathStringFormatWriter schnittstellen.StringFormatWriter[string],
) *fdCliFormat

func MakeFDDeletedStringWriterFormat

func MakeFDDeletedStringWriterFormat(
	dryRun bool,
	fdStringFormatWriter schnittstellen.StringFormatWriter[*fd.FD],
) *fdDeletedStringWriterFormat

func MakeFileNotRecognizedStringWriterFormat

func MakeFileNotRecognizedStringWriterFormat(
	fdStringFormatWriter schnittstellen.StringFormatWriter[*fd.FD],
	shaStringFormatWriter schnittstellen.StringFormatWriter[schnittstellen.ShaLike],
) *fileNotRecognizedStringWriterFormat

func MakeKennungCliFormat

func MakeKennungCliFormat(
	options erworben_cli_print_options.PrintOptions,
	co string_format_writer.ColorOptions,
	abbr kennung.Abbr,
) *kennungCliFormat

func MakeShaCliFormat

func MakeShaCliFormat(
	options erworben_cli_print_options.PrintOptions,
	co string_format_writer.ColorOptions,
	abbr func(*sha.Sha) (string, error),
) *shaCliFormat

func MakeTypCliFormat

func MakeTypCliFormat(co string_format_writer.ColorOptions) *typCliFormat

Types

type Aligned

type Aligned struct {
	kennung.Abbr
	MaxKopf, MaxSchwanz int
	Padding             string
}

func (*Aligned) SetMaxKopfUndSchwanz

func (f *Aligned) SetMaxKopfUndSchwanz(k, s int)

func (*Aligned) WriteStringFormat

func (f *Aligned) WriteStringFormat(
	sw schnittstellen.WriterAndStringWriter,
	o *kennung.Kennung2,
) (n int64, err error)

Jump to

Keyboard shortcuts

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