keys

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown       = Binary(iota)
	ContentLength = 'C'
	Sigil         = 'S'
	Blob          = 'A'
	Description   = 'B'
	Tag           = 'E'
	Genre         = 'G'
	ObjectId      = 'K'
	Comment       = 'k'
	Tai           = 'T'
	Type          = 't'

	ShaParentMetadataParentObjectId = 'M'
	ShaMetadataParentObjectId       = 's'
	ShaMetadataWithoutTai           = 'n'
	ShaMetadata                     = 'm'

	CacheParentTai   = 'p'
	CacheDormant     = 'a'
	CacheTagImplicit = 'I'
	CacheTagExpanded = 'e'
	CacheTags        = 'x'
	CacheTags2       = 'y'
)
View Source
const (
	ShaKeySelfMetadata                 = "SelbstMetadatei"
	ShaKeySelfMetadataWithouTai        = "SelbstMetadateiMutterSansTai"
	ShaKeySelfMetadataObjectIdParent   = "SelbstMetadateiKennungMutter"
	ShaKeyParentMetadataObjectIdParent = "MutterMetadateiKennungMutter"
	ShaKeySelf                         = "MetadateiTai"
	ShaKeyParent                       = "MutterMetadateiMutterTai"
)

Variables

View Source
var (
	KeySigil = catgut.MakeFromString("Sigil")
	KeyTai   = catgut.MakeFromString("Tai")

	KeySha = catgut.MakeFromString("zzSha")

	KeyBlob        = catgut.MakeFromString("Blob")
	KeyDescription = catgut.MakeFromString("Description")
	KeyTag         = catgut.MakeFromString("Tag")
	KeyGenre       = catgut.MakeFromString("Genre")
	KeyObjectId    = catgut.MakeFromString("ObjectId")
	KeyComment     = catgut.MakeFromString("Comment")
	KeyType        = catgut.MakeFromString("Type")
)
View Source
var ErrInvalid = errors.New("invalid key")

Functions

This section is empty.

Types

type Binary

type Binary byte

func (*Binary) ReadByte

func (s *Binary) ReadByte() (byte, error)

func (*Binary) ReadFrom

func (s *Binary) ReadFrom(r io.Reader) (n int64, err error)

func (*Binary) Reset

func (s *Binary) Reset()

func (Binary) String

func (s Binary) String() string

func (*Binary) WriteByte

func (s *Binary) WriteByte(b byte) (err error)

func (*Binary) WriteTo

func (s *Binary) WriteTo(w io.Writer) (n int64, err error)

Jump to

Keyboard shortcuts

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