file

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(from, to string) error

Copy copies a file or folder from {from} to {to}

func GetWorkingDirectory added in v0.2.0

func GetWorkingDirectory() string

GetWorkingDirectory returns the current path

func Move

func Move(from, to string, skip []string) error

Move moves all the files from {from} path to {to} and skip the files and folders in {skip}

func RenameFile

func RenameFile(path, expression, replace string) (string, error)

RenameFile replaces the regexp result with {replace} in {s}

Types

This section is empty.

Jump to

Keyboard shortcuts

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