Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoamLoader ¶
type LoamLoader struct {
Repo *loam.TypedRepository[dto.NodeMetadata]
}
LoamLoader adapts the Loam library to the Trellis GraphLoader interface.
func NewLoamLoader ¶
func NewLoamLoader(repo *loam.TypedRepository[dto.NodeMetadata]) *LoamLoader
NewLoamLoader creates a new Loam adapter.
func (*LoamLoader) GetNode ¶
func (l *LoamLoader) GetNode(id string) ([]byte, error)
GetNode retrieves a node from the Loam repository using the direct Service API. Note: Loam Service.GetDocument is a direct convenience lookup.
func (*LoamLoader) ListNodes ¶ added in v0.3.0
func (l *LoamLoader) ListNodes() ([]string, error)
ListNodes lists all nodes in the repository.
Click to show internal directories.
Click to hide internal directories.