Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeByKey ¶
func MergeByKey[T any, K comparable](base, additional []T, key func(T) K) []T
MergeByKey appends items from additional into base when their key is not yet present.
func NewCopilotLogIterator ¶
NewCopilotLogIterator creates an iterator for an events.jsonl formatted log
func NewSessionToSlog ¶ added in v0.26.0
func NewSessionToSlog() copilot.SessionEventHandler
NewSessionToSlog creates a function compatible with copilot.Session.On that will emit log entries, to slog, when the log level is set to slog.LevelDebug.
func ResolvePaths ¶
ResolvePaths resolves a list of paths relative to a base directory. Absolute paths are returned unchanged, relative paths are resolved relative to the base directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.