package
0.1.0
Repository: https://github.com/dspasibenko/raywin-go.git
Documentation: pkg.go.dev

# Functions

CopyDir copies dir by path "from" to the dir by path "to".
CreateRandomDir creates a randomly name directory in the path with prefix.
CreateRandomFileName in the path with prefix, but without creating new file there.
EnsureDirExists checks whether the dir exists and creates the new one if it doesn't.
EnsureFileExists checks whether the file exists and creates the new one if it doesn't.
GetRoot receives absolute or relative file name and returns first folder.
HashDir calculates SHA256 for the whole dir context.
IsDirEmpty returns weather the dir provided by the name is empty or not.
ListDir returns files and directories non-recursive (in the dir provided only).
NewMMFile opens an existing file, and it maps a region with at least the minSize into map.
NewZipIterator returns the zipIterator for the zipFile provided.
NewZipWriter returns new ZipWriter.
RemoveFiles by path if testFunc() returns true for the FileInfo.
UnzipToFolder unzips zipFile content into the destDir.
WriteTo writes the in stream to the toPath.
ZipCopy copy files from zi to zw adding the prefix name to each file from zi.
ZipFolder archives srcDir content into destFile.

# Constants

No description provided by the author

# Structs

No description provided by the author
ZipWriter struct allows to write files into a new zip archive.

# Interfaces

ZipIterator provides an access to zip.Files.