util

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLineNumbers

func AddLineNumbers(content string) string

AddLineNumbers takes a string of content and returns a new string with line numbers prefixed

func ExpandGlob

func ExpandGlob(pattern, path string) ([]string, error)

ExpandGlob enumerates files under path using ripgrep, then filters them by the given glob pattern using doublestar. Returns matching paths sorted by modification time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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