Documentation
¶
Overview ¶
Package util contains shared helpers used by multiple internal packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOlderThan ¶
ParseOlderThan parses a user-facing duration string used by --older-than. It supports Go duration format (e.g. 12h, 90m) and day shorthand (e.g. 30d).
func ReadBoundedLine ¶ added in v0.3.2
ReadBoundedLine reads one logical line without allowing unbounded growth. If the line exceeds maxBytes, the remainder is discarded through the next newline and truncated is reported as true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.