Documentation
¶
Index ¶
- func DecodeClaudeProjectPath(encoded string) string
- func EncodeClaudeProjectPath(absPath string) string
- func FileMtime(path string) (time.Time, error)
- func FirstUserSnippet(text string, max int) string
- func JSONMarshal(v any) ([]byte, error)
- func JSONUnmarshal(data []byte, v any) error
- func MatchID(id, query string) bool
- func ParseTime(s string) time.Time
- func ReadJSONLLines(path string, maxLines int, fn func(line []byte) error) error
- func ScanJSONLEdges(path string, headLines int, tailChunk int64, match func(line []byte) bool) bool
- func TailJSONLLines(path string, maxLines int) ([][]byte, error)
- func TildePath(p string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeClaudeProjectPath ¶
func EncodeClaudeProjectPath ¶
func FirstUserSnippet ¶
func JSONMarshal ¶
func JSONUnmarshal ¶
func ReadJSONLLines ¶
func ScanJSONLEdges ¶ added in v0.1.3
ScanJSONLEdges checks the first headLines and trailing tailChunk bytes for a matching line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.