file

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcatenateFiles

func ConcatenateFiles(fileAPath string, fileBPath string, outputFilePath string)

func CreateFile added in v0.0.4

func CreateFile(filePath string) error

func GetExecPath

func GetExecPath() string

func IsExists

func IsExists(path string) (os.FileInfo, bool)

IsExists whether file exist

func JoinPath

func JoinPath(parentFolder string, fileOrFolder string) string

Types

type ReadLineFromEnd

type ReadLineFromEnd struct {
	// contains filtered or unexported fields
}

ReadLineFromEnd --

func NewReadLineFromEnd

func NewReadLineFromEnd(filename string) (rd *ReadLineFromEnd, err error)

NewReadLineFromEnd

func (*ReadLineFromEnd) Close

func (c *ReadLineFromEnd) Close() (err error)

Close --

func (*ReadLineFromEnd) ReadLine

func (c *ReadLineFromEnd) ReadLine() (line []byte, err error)

ReadLine end include '\n'

Jump to

Keyboard shortcuts

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