resolver

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package resolver provides functionality to build hierarchical trees of work items.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HierarchyResolver

type HierarchyResolver struct {
	// contains filtered or unexported fields
}

HierarchyResolver builds a tree of work items based on task list relationships.

func New

func New(provider workitem.Provider) *HierarchyResolver

New creates a new HierarchyResolver.

func (*HierarchyResolver) BuildTree

func (r *HierarchyResolver) BuildTree(
	ctx context.Context,
	rootItemNumber int,
	withComments bool,
) (*workitem.WorkItem, error)

BuildTree recursively fetches and assembles a work item and its children.

Jump to

Keyboard shortcuts

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