fileutil

package
v0.0.0-...-af8fb05 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFile

func AppendFile(path string, line string)

func Copy

func Copy(src, dst string) (err error)

func CopyDir

func CopyDir(src string, dst string) (err error)

func CopyFile

func CopyFile(src, dst string) (err error)

func Exists

func Exists(path string) bool

func IsDir

func IsDir(path string) bool

func ReadFile

func ReadFile(path string) (string, error)

func ReadLines

func ReadLines(path string) ([]string, error)

func Tree

func Tree(path string, prefix string, isFirstDir ...bool) string

func Zip

func Zip(dirPath string, zipName string) error

func ZipWithPassword

func ZipWithPassword(dirPath string, zipName string, password 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