fileutil

package
v0.0.0-...-192ba92 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package fileutil implements file utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exist

func Exist(fpath string) bool

Exist returns true if the file or directory exists.

func OpenToAppend

func OpenToAppend(fpath string) (*os.File, error)

func OpenToOverwrite

func OpenToOverwrite(fpath string) (*os.File, error)

func OpenToRead

func OpenToRead(fpath string) (*os.File, error)

func ToFile

func ToFile(txt, fpath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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