shutil

package
v1.3.0-testing2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZipDirectory

func ZipDirectory(root, savefile string, preserveModTime bool) error

ZipDirectory zips the entire directory at "root", writing a .zip file to "savefile"

By default, all file headers are preserved, including modification time. However, this means identical files with different timestamps will create zipfiles with different hashes. Set preserveModTime=false to ignore modification time and generate zipfiles with consistent hashes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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