filesearch

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	XDGAppName = "resticprofile"
)

Functions

func FindConfigurationFile

func FindConfigurationFile(configFile string) (string, error)

FindConfigurationFile returns the path of the configuration file If the file doesn't have an extension, it will search for all possible extensions

func FindResticBinary

func FindResticBinary(configLocation string) (string, error)

FindResticBinary returns the path of restic executable

func ShellExpand added in v0.14.1

func ShellExpand(filename string) (string, error)

ShellExpand uses the shell to expand variables and ~ from a filename. On Windows the function simply returns the filename unchanged

Types

This section is empty.

Jump to

Keyboard shortcuts

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