shellquote

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Quote

func Quote(s string) string

Quote wraps s in single quotes, escaping any internal single quotes.

func QuoteIfNeeded

func QuoteIfNeeded(s string) string

QuoteIfNeeded quotes strings that are likely to be interpreted by a shell.

Types

This section is empty.

Jump to

Keyboard shortcuts

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