package
0.2.0-rc2
Repository: https://github.com/labring/sealvm.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CleanDir removes the directory.
CleanDirs removes multiple directories.
CleanFile removes the file.
CleanFiles removes multiple files.
Copy copies file from source to target path.
CopyDirV3 copy files recursively from source to target directory.
CountDirFiles reutrns # of files under a directory.
Filename returns the file name after the last "/".
GetAllSubDirs returns all subdirectories of given root path.
GetFileListBySuffix returns an ordered list of file paths.
GetFiles returns all the files under the path.
GetFileSize returns the size of a file.
GetFilesSize returns the size of multiple files.
No description provided by the author
IsDir returns if the given path is a directory.
IsExist returns if a file exists.
IsFile returns true if given path is a file, or returns false when it's a directory or does not exist.
LgetAllSubDirs returns all subdirectories of given root path, including following symbolic links, if any.
LstatDir gathers information of given directory by depth-first.
MkDirs creates directories.
MkTmpdir creates a temporary directory.
MkTmpFile creates a temporary file.
ReadAll reads all the content of the file.
ReadLines reads the contents from the file line by line.
RecursionCopy equals to `cp -r`.
StatDir gathers information of given directory by depth-first.
WriteFile outputs all content to the file.
WriteLines outputs lines to the file.