package
0.0.0-20250207170155-8b3aac1c94b0
Repository: https://github.com/soyuz43/prbuddy.git
Documentation: pkg.go.dev

# Functions

BuildTaskList creates tasks based on user input, file matching, and function extraction.
ExtractFilePathFromDiff extracts the file path from a diff header line.
GenerateFilteredData processes tasks to produce a summary of project data.
HandleDCECommandMenu checks if the user input is a recognized command and executes the appropriate function.
NewDCE creates a new instance of DefaultDCE.
NewLittleGuy initializes a new LittleGuy instance.
ParseFunctionNames extracts function names from the provided content using FuncPattern.
ParseImportExportStatements extracts complete import/export statements from the content.
PeriodicallyRefreshTaskList runs RefreshTaskListFromGitChanges at the specified interval, allowing the task list to be updated periodically based on recent git changes.
RefreshTaskListFromGitChanges checks for unstaged and untracked changes and updates the task list if new files are detected.

# Variables

DiffHeaderPattern matches diff header lines (e.g.
FuncPattern matches function definitions (e.g.
ImportExportPattern matches import or export statements.

# Structs

DefaultDCE is the default implementation of the DCE interface.
FilteredData represents extra project data discovered by the DCE.
LittleGuy tracks an ephemeral code snapshot and tasks for a single DCE session.

# Interfaces

DCE defines the interface for dynamic context engine functions.