Discover Packages
github.com/kardianos/task
fsop
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Oct 7, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package fsop has common file system operations.
Compress will create and zip archive of the file(s) and folder(s) in fileOrDir.
fileOrDir may be a single file or a directory containing many files.
The returned bytes is the content of the zip archive.
Copy the the oldpath to the newpath. If only is not nil, only copy the
files and folders where only returns true.
Only takes a path and returns true to include the file or folder.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.