fileutils

package
v0.0.0-...-150e33e Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

func HasChanges

func HasChanges(path string) bool

func HasFileChanges

func HasFileChanges(config *config.ModuleConfig, hash string) (bool, error)

func HasPreviousChanges

func HasPreviousChanges(path string) bool

func HashFiles

func HashFiles(dirpath string) (string, error)

func IdentifyPath

func IdentifyPath(path string) int

* REMOTE = 2 * LOCAL = 1 * UNKNOWN = 0

func IsLocal

func IsLocal(path string) bool

func IsRemote

func IsRemote(path string) bool

func Pack

func Pack(config *config.ModuleConfig) (string, string, error)

func RunCommand

func RunCommand(args ...string) (err error)

func RunCommandWithOutput

func RunCommandWithOutput(args ...string) (string, error)

func ZipDir

func ZipDir(source, target string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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