diff

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package diff implements the ctx memory diff subcommand.

It shows line-level differences between the mirror and current MEMORY.md.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the memory diff subcommand.

Returns:

  • *cobra.Command: command for showing memory diff.

func Run

func Run(cmd *cobra.Command) error

Run computes and prints a line-based diff between the mirror and current MEMORY.md.

Parameters:

  • cmd: Cobra command for output routing.

Returns:

  • error: on discovery or diff failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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