fileutils

package
v2.4.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive added in v2.1.9

func Archive(output string, sources ...string) error

func CreateDirectory

func CreateDirectory(dir string) (err error)

CreateDirectory dir didn't exist, then create dir, otherwise do nothing.

func File2lines added in v2.0.9

func File2lines(filePath string) ([]string, error)

func LinesFromReader added in v2.0.9

func LinesFromReader(r io.Reader) ([]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