Documentation
¶
Index ¶
- Constants
- func IsErrUnsupportedFormatterValue(err error) bool
- func MakeErrUnsupportedFormatterValue(formatValue string, g domain_interfaces.Genre) error
- type ErrUnsupportedFormatterValue
- type FormatFlag
- func (formatFlag *FormatFlag) GetCLICompletion() map[string]string
- func (formatFlag *FormatFlag) GetName() string
- func (formatFlag *FormatFlag) MakeFormatFunc(repo *Repo, writer interfaces.WriterAndStringWriter) interfaces.FuncIter[*sku.Transacted]
- func (formatFlag *FormatFlag) Set(value string) (err error)
- func (formatFlag *FormatFlag) String() string
- func (formatFlag *FormatFlag) WasSet() bool
- type FormatFuncConstructor
- type FormatFuncConstructorEntry
- type FormatTypeFuncConstructor
- type FormatTypeFuncConstructorEntry
- type Options
- type OptionsGetter
- type ParentNegotiatorFirstAncestor
- type Repo
- func (local *Repo) ApplyToOrganizeOptions(oo *organize_text.Options)
- func (local *Repo) Checkin(skus sku.SkuTypeSetMutable, proto sku.Proto, delete bool, refreshCheckout bool) (processed sku.TransactedMutableSet, err error)
- func (local *Repo) DeleteFiles(fs interfaces.Collection[*fd.FD]) (err error)
- func (local *Repo) Flush() (err error)
- func (local *Repo) GetAbbr() sku.IdIndex
- func (local *Repo) GetBlobFormatter(typeLock objects.TypeLock, formatId string, utiGroup string) (blobFormatter script_config.RemoteScript, err error)
- func (local *Repo) GetBlobStore() blob_stores.BlobStoreInitialized
- func (local *Repo) GetConfig() store_config.Config
- func (local *Repo) GetConfigPtr() *store_config.Config
- func (local *Repo) GetConfigStore() store_config.Store
- func (local *Repo) GetConfigStoreMutable() store_config.StoreMutable
- func (local *Repo) GetDormantIndex() *dormant_index.Index
- func (local *Repo) GetEnv() env_ui.Env
- func (local *Repo) GetEnvLocal() env_local.Env
- func (local *Repo) GetEnvLua() env_lua.Env
- func (local *Repo) GetEnvRepo() env_repo.Env
- func (local *Repo) GetEnvWorkspace() env_workspace.Env
- func (local *Repo) GetImmutableConfigPrivate() genesis_configs.TypedConfigPrivate
- func (local *Repo) GetImmutableConfigPublic() genesis_configs.ConfigPublic
- func (local *Repo) GetImmutableConfigPublicType() ids.TypeStruct
- func (local *Repo) GetInventoryListCoderCloset() inventory_list_coders.Closet
- func (local *Repo) GetInventoryListStore() sku.InventoryListStore
- func (local *Repo) GetMatcherDormant() queries.DormantCounter
- func (local *Repo) GetObjectFinalizer() object_finalizer.Finalizer
- func (local *Repo) GetObjectFromObjectId(objectIdString string) (object *sku.Transacted, err error)
- func (local *Repo) GetObjectStore() sku.RepoStore
- func (local *Repo) GetStore() *store.Store
- func (local *Repo) GetTime() time.Time
- func (local *Repo) GetTypedBlobStore() typed_blob_store.Stores
- func (local *Repo) GetWorkspaceConfig() workspace_config_blobs.Config
- func (local *Repo) GetWorkspaceStoreForQuery(repoId ids.RepoId) (store_workspace.Store, bool)
- func (local *Repo) GetZettelFromObjectId(objectIdString string) (object *sku.Transacted, err error)
- func (local *Repo) ImportSeq(seq interfaces.SeqError[*sku.Transacted], importer repo.Importer) (err error)
- func (local *Repo) Lock() (err error)
- func (local *Repo) LockAndCommitOrganizeResults(results organize_text.OrganizeResults) (changeResults organize_text.Changes, err error)
- func (local *Repo) MakeExternalQueryGroup(metaBuilder queries.BuilderOption, ...) (queryGroup *queries.Query, err error)
- func (local *Repo) MakeImporter(options repo.ImporterOptions, storeOptions sku.StoreOptions) repo.Importer
- func (local *Repo) MakeInventoryList(query *queries.Query) (list *sku.HeapTransacted, err error)
- func (local *Repo) MakeOrganizeOptionsWithOrganizeMetadata(organizeFlags organize_text.Flags, metadata organize_text.Metadata) organize_text.Options
- func (local *Repo) MakeOrganizeOptionsWithQueryGroup(organizeFlags organize_text.Flags, qg *queries.Query) organize_text.Options
- func (local *Repo) MakePrinterBoxArchive(out interfaces.WriterAndStringWriter, includeTai bool) interfaces.FuncIter[*sku.Transacted]
- func (local *Repo) MakeQueryBuilder(genress ids.Genre, options queries.BuilderOption) *queries.Builder
- func (local *Repo) MakeQueryBuilderExcludingHidden(genre ids.Genre, options queries.BuilderOption) *queries.Builder
- func (local *Repo) PrintMatchedDormantIfNecessary()
- func (local *Repo) PrinterCheckedOutConflictsForRemoteTransfers() interfaces.FuncIter[*sku.CheckedOut]
- func (local *Repo) PrinterFDDeleted() interfaces.FuncIter[*fd.FD]
- func (local *Repo) PrinterHeader() interfaces.FuncIter[string]
- func (local *Repo) PrinterTransactedDeleted() interfaces.FuncIter[*sku.CheckedOut]
- func (local *Repo) PullQueryGroupFromRemote(remote repo.Repo, qg *queries.Query, options repo.ImporterOptions) (err error)
- func (local *Repo) ReadObjectHistory(objectId *ids.ObjectId) (objects []*sku.Transacted, err error)
- func (local *Repo) Reindex()
- func (local *Repo) Reset() (err error)
- func (local *Repo) Unlock() (err error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func MakeErrUnsupportedFormatterValue ¶
func MakeErrUnsupportedFormatterValue( formatValue string, g domain_interfaces.Genre, ) error
Types ¶
type ErrUnsupportedFormatterValue ¶
type ErrUnsupportedFormatterValue interface {
error
GetFormatValue() string
domain_interfaces.GenreGetter
}
type FormatFlag ¶
type FormatFlag struct {
DefaultFormatter FormatFuncConstructorEntry
// contains filtered or unexported fields
}
func (*FormatFlag) GetCLICompletion ¶
func (formatFlag *FormatFlag) GetCLICompletion() map[string]string
func (*FormatFlag) GetName ¶
func (formatFlag *FormatFlag) GetName() string
func (*FormatFlag) MakeFormatFunc ¶
func (formatFlag *FormatFlag) MakeFormatFunc( repo *Repo, writer interfaces.WriterAndStringWriter, ) interfaces.FuncIter[*sku.Transacted]
func (*FormatFlag) Set ¶
func (formatFlag *FormatFlag) Set(value string) (err error)
func (*FormatFlag) String ¶
func (formatFlag *FormatFlag) String() string
func (*FormatFlag) WasSet ¶
func (formatFlag *FormatFlag) WasSet() bool
type FormatFuncConstructor ¶
type FormatFuncConstructor func( *Repo, interfaces.WriterAndStringWriter, ) interfaces.FuncIter[*sku.Transacted]
type FormatFuncConstructorEntry ¶
type FormatFuncConstructorEntry struct {
Name string
FormatFuncConstructor
// contains filtered or unexported fields
}
func GetFormatFuncConstructorEntry ¶
func GetFormatFuncConstructorEntry(name string) FormatFuncConstructorEntry
type FormatTypeFuncConstructor ¶
type FormatTypeFuncConstructor func( *Repo, type_blobs.Coder, interfaces.WriterAndStringWriter, ) interfaces.FuncIter[*sku.Transacted]
type FormatTypeFuncConstructorEntry ¶
type FormatTypeFuncConstructorEntry struct {
Name string
FormatTypeFuncConstructor
// contains filtered or unexported fields
}
type ParentNegotiatorFirstAncestor ¶
func (ParentNegotiatorFirstAncestor) FindBestCommonAncestor ¶
func (parentNegotiator ParentNegotiatorFirstAncestor) FindBestCommonAncestor( conflicted sku.Conflicted, ) (ancestor *sku.Transacted, err error)
func (ParentNegotiatorFirstAncestor) GetParentNegotiator ¶
func (parentNegotiator ParentNegotiatorFirstAncestor) GetParentNegotiator() sku.ParentNegotiator
type Repo ¶
type Repo struct {
DormantCounter queries.DormantCounter
// contains filtered or unexported fields
}
func (*Repo) ApplyToOrganizeOptions ¶
func (local *Repo) ApplyToOrganizeOptions(oo *organize_text.Options)
func (*Repo) Checkin ¶
func (local *Repo) Checkin( skus sku.SkuTypeSetMutable, proto sku.Proto, delete bool, refreshCheckout bool, ) (processed sku.TransactedMutableSet, err error)
func (*Repo) DeleteFiles ¶
func (local *Repo) DeleteFiles(fs interfaces.Collection[*fd.FD]) (err error)
func (*Repo) GetBlobFormatter ¶
func (local *Repo) GetBlobFormatter( typeLock objects.TypeLock, formatId string, utiGroup string, ) (blobFormatter script_config.RemoteScript, err error)
TODO add support for checked out types
func (*Repo) GetBlobStore ¶
func (local *Repo) GetBlobStore() blob_stores.BlobStoreInitialized
func (*Repo) GetConfig ¶
func (local *Repo) GetConfig() store_config.Config
func (*Repo) GetConfigPtr ¶
func (local *Repo) GetConfigPtr() *store_config.Config
func (*Repo) GetConfigStore ¶
func (local *Repo) GetConfigStore() store_config.Store
func (*Repo) GetConfigStoreMutable ¶
func (local *Repo) GetConfigStoreMutable() store_config.StoreMutable
func (*Repo) GetDormantIndex ¶
func (local *Repo) GetDormantIndex() *dormant_index.Index
func (*Repo) GetEnvWorkspace ¶
func (local *Repo) GetEnvWorkspace() env_workspace.Env
func (*Repo) GetImmutableConfigPrivate ¶
func (local *Repo) GetImmutableConfigPrivate() genesis_configs.TypedConfigPrivate
func (*Repo) GetImmutableConfigPublic ¶
func (local *Repo) GetImmutableConfigPublic() genesis_configs.ConfigPublic
func (*Repo) GetImmutableConfigPublicType ¶
func (local *Repo) GetImmutableConfigPublicType() ids.TypeStruct
func (*Repo) GetInventoryListCoderCloset ¶
func (local *Repo) GetInventoryListCoderCloset() inventory_list_coders.Closet
func (*Repo) GetInventoryListStore ¶
func (local *Repo) GetInventoryListStore() sku.InventoryListStore
func (*Repo) GetMatcherDormant ¶
func (local *Repo) GetMatcherDormant() queries.DormantCounter
func (*Repo) GetObjectFinalizer ¶
func (local *Repo) GetObjectFinalizer() object_finalizer.Finalizer
func (*Repo) GetObjectFromObjectId ¶
func (local *Repo) GetObjectFromObjectId( objectIdString string, ) (object *sku.Transacted, err error)
TODO add to repo.Repo interface
func (*Repo) GetTypedBlobStore ¶
func (local *Repo) GetTypedBlobStore() typed_blob_store.Stores
func (*Repo) GetWorkspaceConfig ¶
func (local *Repo) GetWorkspaceConfig() workspace_config_blobs.Config
func (*Repo) GetWorkspaceStoreForQuery ¶
func (*Repo) GetZettelFromObjectId ¶
func (local *Repo) GetZettelFromObjectId( objectIdString string, ) (object *sku.Transacted, err error)
TODO add to repo.Repo interface
func (*Repo) ImportSeq ¶
func (local *Repo) ImportSeq( seq interfaces.SeqError[*sku.Transacted], importer repo.Importer, ) (err error)
func (*Repo) LockAndCommitOrganizeResults ¶
func (local *Repo) LockAndCommitOrganizeResults( results organize_text.OrganizeResults, ) (changeResults organize_text.Changes, err error)
func (*Repo) MakeExternalQueryGroup ¶
func (local *Repo) MakeExternalQueryGroup( metaBuilder queries.BuilderOption, externalQueryOptions sku.ExternalQueryOptions, args ...string, ) (queryGroup *queries.Query, err error)
func (*Repo) MakeImporter ¶
func (local *Repo) MakeImporter( options repo.ImporterOptions, storeOptions sku.StoreOptions, ) repo.Importer
func (*Repo) MakeInventoryList ¶
func (*Repo) MakeOrganizeOptionsWithOrganizeMetadata ¶
func (local *Repo) MakeOrganizeOptionsWithOrganizeMetadata( organizeFlags organize_text.Flags, metadata organize_text.Metadata, ) organize_text.Options
func (*Repo) MakeOrganizeOptionsWithQueryGroup ¶
func (local *Repo) MakeOrganizeOptionsWithQueryGroup( organizeFlags organize_text.Flags, qg *queries.Query, ) organize_text.Options
func (*Repo) MakePrinterBoxArchive ¶
func (local *Repo) MakePrinterBoxArchive( out interfaces.WriterAndStringWriter, includeTai bool, ) interfaces.FuncIter[*sku.Transacted]
func (*Repo) MakeQueryBuilder ¶
func (*Repo) MakeQueryBuilderExcludingHidden ¶
func (*Repo) PrinterCheckedOutConflictsForRemoteTransfers ¶
func (local *Repo) PrinterCheckedOutConflictsForRemoteTransfers() interfaces.FuncIter[*sku.CheckedOut]
func (*Repo) PrinterFDDeleted ¶
func (local *Repo) PrinterFDDeleted() interfaces.FuncIter[*fd.FD]
TODO make generic external version
func (*Repo) PrinterHeader ¶
func (local *Repo) PrinterHeader() interfaces.FuncIter[string]
func (*Repo) PrinterTransactedDeleted ¶
func (local *Repo) PrinterTransactedDeleted() interfaces.FuncIter[*sku.CheckedOut]
TODO migrate to StringFormatWriterSkuBoxCheckedOut
func (*Repo) PullQueryGroupFromRemote ¶
func (*Repo) ReadObjectHistory ¶
func (*Repo) Reset ¶
TODO investigate removing unnecessary resets like from organize
Source Files
¶
- accessors.go
- actions.go
- errors.go
- format.go
- format_type.go
- genesis.go
- local_op_pull.go
- local_op_read_object_history.go
- local_parent_negotiator.go
- lock.go
- main.go
- op_checkin.go
- op_get_blob_formatter.go
- op_get_sku_from_object_id.go
- op_import_list.go
- op_make_importer.go
- op_make_inventory_list.go
- op_make_query_group.go
- op_reindex.go
- options.go
- organize.go
- printers.go
- workspace_browser.go
Click to show internal directories.
Click to hide internal directories.