file

package module
v0.0.0-...-9ce6cde Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: MIT Imports: 4 Imported by: 0

README

apps-util-file

Helper functions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToWorkFolder

func CopyToWorkFolder(remoteFolder string, workFolder string) []string

Empties workFolder then copy over files (and files only) from remoteFolder. Does NOT go into sub folders in remoteFolder

func EmptyFolder

func EmptyFolder(folder string)

func FileExists

func FileExists(path string) bool

func LastWithPrefix

func LastWithPrefix(dir string, prefix string) (string, error)

LastWithPrefix returns last file (by name) with the given prefix

Types

This section is empty.

Jump to

Keyboard shortcuts

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