workspace_config_blobs

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: 9 Imported by: 0

Documentation

Index

Constants

Variables

Functions

func DecodeFromFile

func DecodeFromFile(
	object TypeWithBlob,
	path string,
) (err error)

func EncodeToFile

func EncodeToFile(
	object TypeWithBlob,
	path string,
) (err error)

Types

type Blob

type Blob interface {
	GetDefaults() config_mutable_blobs.Defaults
	GetDefaultQueryGroup() string
}

type TypeWithBlob

type TypeWithBlob = *triple_hyphen_io.TypedStruct[*Blob]

type V0

type V0 struct {
	Defaults config_mutable_blobs.DefaultsV1OmitEmpty `toml:"defaults,omitempty"`

	Query string `toml:"query,omitempty"`
}

func (V0) GetDefaultQueryGroup

func (blob V0) GetDefaultQueryGroup() string

func (V0) GetDefaults

func (blob V0) GetDefaults() config_mutable_blobs.Defaults

func (V0) GetWorkspaceConfig

func (blob V0) GetWorkspaceConfig() Blob

Jump to

Keyboard shortcuts

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