escape

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package escape provides functions for escaping strings for different contexts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitConfig

func GitConfig(s string) string

GitConfig quotes s such that it can be used as a Git configuration value.

func Shell

func Shell(s string) string

Shell quotes s such that it can be used as a literal argument to a shell command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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