domain_interfaces

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Abbreviatable

type Abbreviatable interface {
	interfaces.Stringer
}

type Abbreviator

type Abbreviator struct {
	Expand     FuncExpandString
	Abbreviate FuncAbbreviateString
}

type ExternalObjectId

type ExternalObjectId interface {
	ObjectId
	ExternalObjectIdGetter
}

type ExternalObjectIdGetter

type ExternalObjectIdGetter interface {
	GetExternalObjectId() ExternalObjectId
}

type FuncAbbreviateString

type FuncAbbreviateString func(Abbreviatable) (string, error)

type FuncExpandString

type FuncExpandString func(string) (string, error)

type FuncObjectReader

type FuncObjectWriter

type FuncObjectWriter func() (mad_domain_interfaces.BlobWriter, error)

type Genre

type Genre interface {
	GenreGetter
	interfaces.Stringer
	IsConfig() bool
	IsNone() bool
	IsTag() bool
	IsType() bool
	IsZettel() bool
	GetGenreBitInt() byte
}

type GenreGetter

type GenreGetter interface {
	GetGenre() Genre
}

type ObjectIOFactory

type ObjectIOFactory interface {
	ObjectReaderFactory
	ObjectWriterFactory
}

func MakeBespokeObjectReadWriterFactory

func MakeBespokeObjectReadWriterFactory(
	r ObjectReaderFactory,
	w ObjectWriterFactory,
) ObjectIOFactory

type ObjectId

type ObjectId interface {
	GenreGetter
	interfaces.Stringer
	IsEmpty() bool
}

type ObjectReaderFactory

type ObjectReaderFactory interface {
	ObjectReader(mad_domain_interfaces.MarklIdGetter) (mad_domain_interfaces.BlobReader, error)
}

func MakeBespokeObjectReadFactory

func MakeBespokeObjectReadFactory(
	r FuncObjectReader,
) ObjectReaderFactory

type ObjectWriterFactory

type ObjectWriterFactory interface {
	ObjectWriter() (mad_domain_interfaces.BlobWriter, error)
}

func MakeBespokeObjectWriteFactory

func MakeBespokeObjectWriteFactory(
	r FuncObjectWriter,
) ObjectWriterFactory

type RepoId

type RepoId interface {
	interfaces.Stringer
	GetRepoIdString() string
}

type RepoIdGetter

type RepoIdGetter interface {
	GetRepoId() RepoId
}

type StoreVersion

type StoreVersion interface {
	interfaces.Stringer
	GetInt() int
}

TODO combine with config_immutable.StoreVersion and make a sealed struct

type WorkspaceStoreReadAllExternalItems

type WorkspaceStoreReadAllExternalItems interface {
	ReadAllExternalItems() error
}

Source Files

  • ids.go
  • object.go
  • registrations.go
  • store_version.go
  • workspace.go

Jump to

Keyboard shortcuts

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