fileutils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll added in v0.0.5

func ReadAll(path string) (string, error)

Types

type FilePath

type FilePath struct {
	Path string
	// contains filtered or unexported fields
}

func (*FilePath) Exists

func (fp *FilePath) Exists() bool

func (*FilePath) IsDir

func (fp *FilePath) IsDir() bool

func (*FilePath) IsFile

func (fp *FilePath) IsFile() bool

func (*FilePath) MakeDirs

func (fp *FilePath) MakeDirs() error

func (*FilePath) ReadAll added in v0.0.5

func (fp *FilePath) ReadAll() (string, error)

func (*FilePath) ReadLines

func (fp *FilePath) ReadLines() ([]string, error)

Jump to

Keyboard shortcuts

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