privacy

package
v0.0.0-...-073f691 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package privacy contains public-safe redaction helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsSecretLikeValue

func ContainsSecretLikeValue(value string) bool

ContainsSecretLikeValue is a conservative guard for obvious secret material.

func RedactPath

func RedactPath(path string, includePrivatePaths bool) string

RedactPath removes local filesystem detail from a path for public exports.

func RedactRemoteURL

func RedactRemoteURL(remote string) string

RedactRemoteURL removes URL credentials and secret-like query parameters.

func RedactSecretLikeText

func RedactSecretLikeText(value string) string

RedactSecretLikeText removes obvious token material from command output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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