fsutil

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists added in v1.4.0

func Exists(path string) bool

func GetRunPath added in v1.4.0

func GetRunPath() (r string)

func IsDir added in v0.0.11

func IsDir(path string) bool

func IsFile added in v0.0.11

func IsFile(path string) bool

func ReadPath added in v0.1.0

func ReadPath(path string) (f []string)

Types

type FS added in v1.2.0

type FS struct {
	Path  string
	Data  string
	TRUNC bool
}

func File added in v0.0.11

func File(path string) *FS

func (*FS) CopyTo added in v1.3.0

func (f *FS) CopyTo(paths string) error

func (*FS) SetTrunc added in v1.2.0

func (f *FS) SetTrunc() *FS

func (*FS) Write added in v1.2.0

func (f *FS) Write(d any) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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