Categorygithub.com/projectdiscovery/fileutil
modulepackage
0.0.3
Repository: https://github.com/projectdiscovery/fileutil.git
Documentation: pkg.go.dev

# README

fileutil

The package contains various helpers to interact with files

# Functions

CopyFile from source to destination.
CreateFolder path.
CreateFolders in the list.
No description provided by the author
DownloadFile to specified path.
No description provided by the author
FileExists checks if the file exists in the provided path.
FolderExists checks if the folder exists.
GetTempFileName generate a temporary file name.
HasPermission checks if the file has the requested permission.
HasStdin determines if the user has piped input.
IsReadable verify file readability.
IsWriteable verify file writeability.
No description provided by the author
No description provided by the author
ReadFile with filename.
ReadFile with filename and specific buffer size.
ReadFileWithReader and stream on a channel.
ReadFileWithReader with specific buffer size and stream on a channel.
RemoveAll specified paths, returning those that caused error.
No description provided by the author
No description provided by the author
UseMusl checks if the specified elf file uses musl.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
FrozenReader is a reader that never returns.
TimeoutReader is a reader wrapper that stops waiting after Timeout.

# Type aliases

No description provided by the author