push

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupLogDirectory added in v1.1.6

func CleanupLogDirectory(ctx context.Context, logDir string, maxTotalSizeMB int) (int, error)

CleanupLogDirectory removes the oldest local .log and .log.gz files until their combined size is within maxTotalSizeMB. A non-positive limit disables cleanup. Only regular files directly inside logDir are considered.

func Register

func Register(reg *dispatch.Registry)

Register wires package handlers into the provided registry.

func SanitizeUsageLog added in v1.0.55

func SanitizeUsageLog() error

SanitizeUsageLog removes provider API key secrets from the fallback usage log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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