Documentation
¶
Overview ¶
Package futi provides util functions to work with files
Index ¶
- func Copy(inFile, outFile string) error
- func CreateTempFile(dir, pattern string, data *[]byte) (string, error)
- func Delete(fileName string) error
- func DirExists(dirname string) bool
- func FileExists(filename string) bool
- func Move(inFile, outFile string) error
- type CreateTempFileError
- type DeleteFileError
- type IsNotRegularFileError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempFile ¶ added in v0.0.54
func FileExists ¶
Types ¶
type CreateTempFileError ¶ added in v0.0.54
func (*CreateTempFileError) Error ¶ added in v0.0.54
func (e *CreateTempFileError) Error() string
type DeleteFileError ¶ added in v0.0.54
func (*DeleteFileError) Error ¶ added in v0.0.54
func (e *DeleteFileError) Error() string
type IsNotRegularFileError ¶ added in v0.0.57
type IsNotRegularFileError struct {
File string
}
func (*IsNotRegularFileError) Error ¶ added in v0.0.57
func (e *IsNotRegularFileError) Error() string
Click to show internal directories.
Click to hide internal directories.