spiegel_podman/pkg/systemd/quadlet
Vishnu Kothakapu e3797d95b1 Performance: Use delayed regex compilation
Replaces regexp.MustCompile with regexp.Delayed from go.podman.io/storage/pkg/regexp
for global regular expressions. This avoids compiling regular expressions
during the global init scope, improving startup performance for all commands.

Tests are kept using regexp.MustCompile where applicable.

Fixes: #29510
Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>
2026-08-14 21:14:17 +05:30
..
podmancmdline.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
quadlet.go Refactor: Replace static fmt.Errorf with errors.New in pkg/systemd 2026-08-12 22:21:04 +05:30
quadlet_common.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
unitdirs.go Performance: Use delayed regex compilation 2026-08-14 21:14:17 +05:30
unitdirs_test.go feat: update podman quadlet sub-command 2026-06-02 09:52:49 +00:00