Documentation
¶
Index ¶
- Variables
- func GetMarklIdForPurpose(metadata Metadata, purposeId string) mad_domain_interfaces.MarklId
- func GetMarklIdMutableForPurpose(metadata MetadataMutable, purposeId string) mad_domain_interfaces.MarklIdMutable
- func Make() *metadata
- func MakeBuilder() *builder
- func SetTags[TAG ids.Tag](metadata MetadataMutable, otherTags ids.Set[TAG])
- func StringSansTai(metadata *metadata) string
- type BlobReferences
- func (refs *BlobReferences) Add(id markl.Id, typeLock markl.Lock[ids.SeqId, *ids.SeqId])
- func (refs BlobReferences) All() interfaces.Seq[markl.Id]
- func (refs BlobReferences) GetAlias(id markl.Id) string
- func (refs BlobReferences) GetTypeLock(id markl.Id) markl.Lock[ids.SeqId, *ids.SeqId]
- func (refs *BlobReferences) GetTypeLockMutable(id markl.Id) *markl.Lock[ids.SeqId, *ids.SeqId]
- func (refs *BlobReferences) Reset()
- func (refs *BlobReferences) ResetWith(other BlobReferences)
- func (refs *BlobReferences) SetAlias(id markl.Id, alias string) error
- type ContainedObjects
- func (contents *ContainedObjects) Add(id SeqId) error
- func (contents *ContainedObjects) AddReference(id SeqId) error
- func (contents ContainedObjects) All() interfaces.Seq[SeqId]
- func (contents ContainedObjects) AllReferences() interfaces.Seq[SeqId]
- func (contents ContainedObjects) AllTags() interfaces.Seq[SeqId]
- func (contents ContainedObjects) ContainsKey(key string) bool
- func (contents *ContainedObjects) DelKey(key string) error
- func (contents ContainedObjects) Get(key string) (SeqId, bool)
- func (contents ContainedObjects) GetPartial(key string) (SeqId, bool)
- func (contents ContainedObjects) GetSlice() collections_slice.Slice[containedObject]
- func (contents *ContainedObjects) GetSliceMutable() *collections_slice.Slice[containedObject]
- func (contents ContainedObjects) Key(id SeqId) string
- func (contents ContainedObjects) Len() int
- func (contents *ContainedObjects) Reset()
- func (contents *ContainedObjects) ResetTags()
- func (contents ContainedObjects) TagLen() int
- type DecoderContext
- type EncoderContext
- type Field
- type Getter
- type GetterMutable
- type IdLock
- type IdLockMutable
- type Index
- type IndexMutable
- type Metadata
- type MetadataMutable
- type MetadataStruct
- type SeqId
- type Tag
- type TagLock
- type TagLockMutable
- type TagSet
- type TagSetMutable
- type TagStruct
- type Type
- type TypeLock
- type TypeLockMutable
- type TypeMutable
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EqualerSansTai equaler Equaler = equaler{/* contains filtered or unexported fields */} EqualerSansTaiIncludeVirtual = equaler{/* contains filtered or unexported fields */} )
View Source
var Lessor lessor
View Source
var Resetter resetter
Functions ¶
func GetMarklIdForPurpose ¶
func GetMarklIdForPurpose( metadata Metadata, purposeId string, ) mad_domain_interfaces.MarklId
func GetMarklIdMutableForPurpose ¶
func GetMarklIdMutableForPurpose( metadata MetadataMutable, purposeId string, ) mad_domain_interfaces.MarklIdMutable
func Make ¶
func Make() *metadata
func MakeBuilder ¶
func MakeBuilder() *builder
Types ¶
type BlobReferences ¶
type BlobReferences struct {
// contains filtered or unexported fields
}
func (*BlobReferences) Add ¶
func (BlobReferences) All ¶
func (refs BlobReferences) All() interfaces.Seq[markl.Id]
func (BlobReferences) GetAlias ¶
func (refs BlobReferences) GetAlias(id markl.Id) string
func (BlobReferences) GetTypeLock ¶
func (*BlobReferences) GetTypeLockMutable ¶
func (*BlobReferences) Reset ¶
func (refs *BlobReferences) Reset()
func (*BlobReferences) ResetWith ¶
func (refs *BlobReferences) ResetWith(other BlobReferences)
type ContainedObjects ¶
type ContainedObjects collections_slice.Slice[containedObject]
func (*ContainedObjects) Add ¶
func (contents *ContainedObjects) Add(id SeqId) error
func (*ContainedObjects) AddReference ¶
func (contents *ContainedObjects) AddReference(id SeqId) error
func (ContainedObjects) All ¶
func (contents ContainedObjects) All() interfaces.Seq[SeqId]
func (ContainedObjects) AllReferences ¶
func (contents ContainedObjects) AllReferences() interfaces.Seq[SeqId]
func (ContainedObjects) AllTags ¶
func (contents ContainedObjects) AllTags() interfaces.Seq[SeqId]
func (ContainedObjects) ContainsKey ¶
func (contents ContainedObjects) ContainsKey(key string) bool
func (*ContainedObjects) DelKey ¶
func (contents *ContainedObjects) DelKey(key string) error
func (ContainedObjects) Get ¶
func (contents ContainedObjects) Get(key string) (SeqId, bool)
func (ContainedObjects) GetPartial ¶
func (contents ContainedObjects) GetPartial(key string) (SeqId, bool)
func (ContainedObjects) GetSlice ¶
func (contents ContainedObjects) GetSlice() collections_slice.Slice[containedObject]
func (*ContainedObjects) GetSliceMutable ¶
func (contents *ContainedObjects) GetSliceMutable() *collections_slice.Slice[containedObject]
func (ContainedObjects) Key ¶
func (contents ContainedObjects) Key(id SeqId) string
func (ContainedObjects) Len ¶
func (contents ContainedObjects) Len() int
func (*ContainedObjects) Reset ¶
func (contents *ContainedObjects) Reset()
func (*ContainedObjects) ResetTags ¶
func (contents *ContainedObjects) ResetTags()
func (ContainedObjects) TagLen ¶
func (contents ContainedObjects) TagLen() int
type DecoderContext ¶
type DecoderContext interface {
GetterMutable
SetBlobDigest(mad_domain_interfaces.MarklId) error
}
Coding
type GetterMutable ¶
type GetterMutable interface {
GetMetadataMutable() MetadataMutable
}
type IdLock ¶
type IdLock = mad_domain_interfaces.Lock[SeqId, *SeqId]
type IdLockMutable ¶
type IdLockMutable = mad_domain_interfaces.LockMutable[SeqId, *SeqId]
type Index ¶
type Index interface {
GetFields() interfaces.Seq[Field]
GetTagPaths() *tag_paths.Tags // TODO make immutable view
GetDormant() values.Bool
GetImplicitTags() TagSet
GetComments() interfaces.Seq[string]
GetSelfWithoutTai() mad_domain_interfaces.MarklId
}
type IndexMutable ¶
type IndexMutable interface {
Index
AddTagsImplicitPtr(tag Tag)
GetDormantMutable() *values.Bool
GetFieldsMutable() *collections_slice.Slice[Field]
GetTagPathsMutable() *tag_paths.Tags
SetImplicitTags(e TagSet)
GetCommentsMutable() *collections_slice.Slice[string]
GetSelfWithoutTaiMutable() mad_domain_interfaces.MarklIdMutable
}
type Metadata ¶
type Metadata interface {
Getter
IsEmpty() bool
GetDescription() descriptions.Description
GetIndex() Index
GetTags() TagSet
AllTags() interfaces.Seq[Tag]
GetTai() ids.Tai
GetType() Type
GetTypeLock() TypeLock
GetTagLock(Tag) TagLock
AllReferencedObjects() interfaces.Seq[SeqId]
GetReferencedObjectLock(SeqId) IdLock
GetReferenceAlias(SeqId) string
AllBlobReferences() interfaces.Seq[markl.Id]
GetBlobReferenceAlias(markl.Id) string
GetBlobReferenceTypeLock(markl.Id) markl.Lock[ids.SeqId, *ids.SeqId]
GetBlobDigest() mad_domain_interfaces.MarklId
GetObjectDigest() mad_domain_interfaces.MarklId
GetMotherObjectSig() mad_domain_interfaces.MarklId
GetRepoPubKey() mad_domain_interfaces.MarklId
GetObjectSig() mad_domain_interfaces.MarklId
}
type MetadataMutable ¶
type MetadataMutable interface {
interfaces.CommandComponentWriter
Metadata
GetterMutable
Subtract(Metadata)
AddTagPtr(Tag) (err error)
ResetTags()
AddTagString(tagString string) (err error)
AddTagPtrFast(tag Tag) (err error)
GenerateExpandedTags()
GetIndexMutable() IndexMutable
GetBlobDigestMutable() mad_domain_interfaces.MarklIdMutable
GetDescriptionMutable() *descriptions.Description
GetMotherObjectSigMutable() mad_domain_interfaces.MarklIdMutable
GetObjectDigestMutable() mad_domain_interfaces.MarklIdMutable
GetObjectSigMutable() mad_domain_interfaces.MarklIdMutable
GetRepoPubKeyMutable() mad_domain_interfaces.MarklIdMutable
GetTaiMutable() *ids.Tai
GetTypeMutable() TypeMutable
GetTypeLockMutable() TypeLockMutable
GetTagLockMutable(Tag) TagLockMutable
AddReference(SeqId) error
SetReferenceAlias(ref SeqId, alias string) error
GetReferencedObjectLockMutable(SeqId) IdLockMutable
AddBlobReference(markl.Id, markl.Lock[ids.SeqId, *ids.SeqId])
SetBlobReferenceAlias(markl.Id, string) error
GetBlobReferenceTypeLockMutable(markl.Id) *markl.Lock[ids.SeqId, *ids.SeqId]
ResetBlobReferences()
}
type MetadataStruct ¶
type MetadataStruct = metadata
type TagLockMutable ¶
type TagLockMutable = IdLockMutable
type TagSetMutable ¶
type TagSetMutable = ids.SetMutable[ids.TagStruct]
type TypeLock ¶
type TypeLock = mad_domain_interfaces.Lock[Type, TypeMutable]
type TypeLockMutable ¶
type TypeLockMutable = mad_domain_interfaces.LockMutable[Type, TypeMutable]
Source Files
¶
- blob_reference.go
- builder.go
- cmp.go
- contained_object.go
- contained_object_type.go
- contained_objects.go
- contents_tag_set.go
- flags.go
- index.go
- interfaces.go
- key_values.go
- main.go
- markl.go
- resetter.go
- string.go
- tag_set_flags_use_collecionts.go
- util.go
Click to show internal directories.
Click to hide internal directories.