file

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Overview

File handling functions

F in OpenToReadF stands for... Do succesfully, or log to Fatal level and exit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func NewFile

func NewFile(filepath utils_types.FilePath) *File

func (*File) Close

func (f *File) Close()

func (*File) CreateToWriteF

func (f *File) CreateToWriteF() *File

func (*File) GetFilepath

func (f *File) GetFilepath() utils_types.FilePath

func (*File) GetLines

func (f *File) GetLines() []string

func (*File) OpenToReadF

func (f *File) OpenToReadF() *File

func (*File) ReadLines

func (f *File) ReadLines() []string

func (*File) ScheduleToWrite

func (f *File) ScheduleToWrite(value string)

func (*File) WriteLines

func (f *File) WriteLines()

func (*File) WritelnF

func (f *File) WritelnF(msg string)

Jump to

Keyboard shortcuts

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