io

package
v0.0.0-...-f815b1f Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentDirectory

func GetCurrentDirectory() string

func RemoveAnyway

func RemoveAnyway(path string)

func SecureMkdir

func SecureMkdir(path string, perm os.FileMode)

func SecureRemoveAll

func SecureRemoveAll(path string)

func SecureRemoveFile

func SecureRemoveFile(path string)

func SecureRenameFile

func SecureRenameFile(oldPath string, newPath string)

func Unzip

func Unzip(src string, dest string) ([]string, error)

Unzip will decompress a zip archive, moving all files and folders within the zip file (parameter 1) to an output directory (parameter 2).

func WriteFileWith

func WriteFileWith(file string, text string)

func WriteToFile

func WriteToFile(file string, text string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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