files

package
v0.0.0-...-c0d88ac Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src, dst string) error

Copy make a copy of file

func Delete

func Delete(src string) error

Delete remove file from HD

func SearchFiles

func SearchFiles(filter *Filter) ([]string, error)

SearchFiles return the list of files that were found by filter specification

func Write

func Write(dst string, bs []byte) error

Write create a new file with content data

Types

type Filter

type Filter struct {
	FileName string
	Exts     []string
	Dir      string
}

Filter define options of search

Jump to

Keyboard shortcuts

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