Documentation
¶
Index ¶
- func TagComparePtr(left, right *tag) cmp.Result
- type ApproximatedType
- type CLI
- type Config
- func (compiled Config) AccumulateImplicitTags(tag ids.Tag) (err error)
- func (compiled Config) GetApproximatedType(id domain_interfaces.ObjectId) (ct ApproximatedType)
- func (config Config) GetCLIFlags() (flags []string)
- func (config Config) GetFileExtensions() file_extensions.Config
- func (compiled Config) GetImplicitTags(tag ids.Tag) ids.TagSet
- func (config Config) GetPrintOptions() options_print.Options
- func (compiled Config) GetSku() *sku.Transacted
- func (compiled Config) GetTagOrRepoIdOrType(objectIdString string) (object *sku.Transacted, err error)
- func (config Config) GetTypeExtension(v string) string
- func (config Config) GetTypeStringFromExtension(t string) string
- func (config Config) IsInlineType(tipe ids.Type) (isInline bool)
- func (compiled Config) SetNeedsRecompile(reason string)
- type Store
- type StoreMutable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApproximatedType ¶
type ApproximatedType = typed_blob_store.ApproximatedType
type CLI ¶
type CLI = repo_config_cli.Config
type Config ¶
type Config struct {
CLI
// contains filtered or unexported fields
}
func (Config) AccumulateImplicitTags ¶
func (Config) GetApproximatedType ¶
func (compiled Config) GetApproximatedType( id domain_interfaces.ObjectId, ) (ct ApproximatedType)
Returns the exactly matching Typ, or if it doesn't exist, returns the parent Typ or nil. (Parent Typ for `md-gdoc` would be `md`.)
func (Config) GetFileExtensions ¶
func (config Config) GetFileExtensions() file_extensions.Config
func (Config) GetPrintOptions ¶
func (config Config) GetPrintOptions() options_print.Options
func (Config) GetSku ¶
func (compiled Config) GetSku() *sku.Transacted
func (Config) GetTagOrRepoIdOrType ¶
func (compiled Config) GetTagOrRepoIdOrType( objectIdString string, ) (object *sku.Transacted, err error)
func (Config) GetTypeStringFromExtension ¶
type Store ¶
type StoreMutable ¶
type StoreMutable interface {
Store
AddTransacted(
child *sku.Transacted,
parent *sku.Transacted,
) (err error)
Initialize(
dirLayout env_repo.Env,
kcli repo_config_cli.Config,
) (err error)
Reset() error
Flush(
dirLayout env_repo.Env,
blobStore typed_blob_store.Stores,
printerHeader interfaces.FuncIter[string],
) (err error)
}
func Make ¶
func Make() StoreMutable
Source Files
¶
- accessors.go
- cli.go
- compiled.go
- main.go
- persist.go
- tag.go
Click to show internal directories.
Click to hide internal directories.