arch

package
v0.0.0-...-bbb754b Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 10 Imported by: 0

README

Архивы

func main()  {
	root := "."
	ZipDir(root,"r.ZIP")
}

arch.go idea ls.txt output.zip README.md r.ZIP zip.zip

func main()  {
	root := "/home/droid/Projects/todo2/src/"
	ZipDir(root,"r.ZIP")
}

arch.go idea ls.txt output.zip README.md r.ZIP zip.zip

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecursiveZip

func RecursiveZip(pathToZip string, myZip *zip.Writer) error

func RecursiveZipDest

func RecursiveZipDest(pathToZip string, destinationW io.Writer) error

func RecursiveZipWriter

func RecursiveZipWriter(pathToZip string, buf *bytes.Buffer, debug bool) error

func Unzip

func Unzip(src, dest string) error
func main()  {
	ZipFolder("/home/droid/Projects/todo2/src/","zip.zip")
	time.Sleep(400*time.Millisecond)

}

func UnzipBt

func UnzipBt(srcBt []byte, dest string) error

func ZipData

func ZipData(path string, debug bool) ([]byte, error)

func ZipDir

func ZipDir(pathToZip, destinationPath string) error

func ZipFolder

func ZipFolder(baseFolder string, out string) error

func ZipWriter

func ZipWriter(baseFolder string, w *zip.Writer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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