fileutils

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

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

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

func LinesFromReader

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