Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + var DangerousDirectories = []string + var DangerousFiles = []string + func CheckDangerousRemovalPath(path string, cwd string) error + func FormatNotFoundError(path string, workingDir string) error + func GetAbsolutePath(path string) (string, error) + func GetFileReadIgnorePatterns(_ context.Context) []string + func GetVCSDirectoriesToExclude() []string + func HasSuspiciousPattern(path string) bool + func IsBlockedDevicePath(filePath string) bool + func IsDangerousDirectory(path string) bool + func IsDangerousFile(path string) bool + func IsInWorkingDirectory(path, workingDir string) bool + func IsPathWithin(base, path string) (bool, error) + func IsUNCPath(path string) bool + func Plural(count int) string + func RipgrepNotFoundError() error + func SuggestPathUnderCwd(requestedPath string, workingDir string) (string, error) + func ValidateFilePath(filePath, operation string) error + func ValidatePathExists(path string) error + func ValidatePathIsDirectory(path string) error + func ValidateSensitivePath(absolutePath, toolName, content string) error + func ValidateUNCPathSecurity(path string) error + type GitDiff struct + Additions int + Changes int + Deletions int + Filename string + Patch string + Status string + func ComputeGitDiff(absolutePath string) (*GitDiff, bool)