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

# Functions

CheckForUnstagedChanges checks for unstaged changes using git diff and logs them.
CheckForUntrackedFiles detects new untracked files and logs them.
ManualRefresh allows a manual request (e.g., via a /refresh-map command) to update the map.
NewGoParser creates a new GoParser instance.
NewParserForLanguage returns the appropriate parser based on the provided language.
OnCheckout is called on git checkout.
OnCommit is called on git commit.
OnMerge is called on git merge.
OnPull is called on git pull.
RefreshProjectKnowledge rebuilds the project metadata and map and saves them.
SaveMetadata writes the given metadata to a JSON file using atomic file writes.
SaveProjectMap writes the given project map to a JSON file using atomic file writes.
WatchFiles sets up file watchers on files that are relevant to the active tasks.

# Variables

For example, you can re-export the NewDummyParser function:.

# Structs

FunctionDependencies tracks function relationships and invocations.
FunctionInfo contains metadata about a Go function.
GoParser implements Parser for Go projects using Tree-sitter.
ProjectMap represents the complete project function mapping.
ProjectMetadata holds project metadata including source files and ignored patterns.

# Interfaces

Parser interface for project analysis operations.

# Type aliases

Language represents a programming language.