futi

package
v0.0.137 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package futi provides util functions to work with files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy added in v0.0.57

func Copy(inFile, outFile string) error

func CreateTempFile added in v0.0.54

func CreateTempFile(dir, pattern string, data *[]byte) (string, error)

func Delete added in v0.0.54

func Delete(fileName string) error

func DirExists added in v0.0.86

func DirExists(dirname string) bool

func FileExists

func FileExists(filename string) bool

func Move added in v0.0.57

func Move(inFile, outFile string) error

Types

type CreateTempFileError added in v0.0.54

type CreateTempFileError struct {
	Dir     string
	Pattern string
	Data    *[]byte
	Parent  error
}

func (*CreateTempFileError) Error added in v0.0.54

func (e *CreateTempFileError) Error() string

type DeleteFileError added in v0.0.54

type DeleteFileError struct {
	FileName string
	Parent   error
}

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

Jump to

Keyboard shortcuts

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