shutil

package
v0.0.0-...-15a9a0c Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package shutil provides shell-related utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Escape

func Escape(s string) string

Escape escapes a string so it can be safely included as an argument in a shell command line. The string is not modified if it can already be safely included.

func EscapeSlice

func EscapeSlice(args []string) string

EscapeSlice escapes a slice of strings so each will be treated as a separate argument in the returned shell command line. See Escape for more information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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