ioutils

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string, fileMode os.FileMode) error

func DoubleWinPathSeparator

func DoubleWinPathSeparator(filePath string) string

func PrepareFilePathForUnix

func PrepareFilePathForUnix(path string) string

func ReadCredentialsFromConsole

func ReadCredentialsFromConsole(details, savedDetails cliutils.Credentials, allowUsingSavedPassword bool) error

@param allowUsingSavedPassword - Prevent changing username or url without changing the password. False iff the user changed the username or the url.

func ScanFromConsole

func ScanFromConsole(caption string, scanInto *string, defaultValue string)

func UnixToWinPathSeparator

func UnixToWinPathSeparator(filePath string) string

func WinToUnixPathSeparator

func WinToUnixPathSeparator(filePath string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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