package
0.0.104
Repository: https://github.com/alessiosavi/gogputils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CompareBinaryFile is delegated to compare two files using chunks of byte.
CountLines return the number of lines in the given file If called with an empty separator, new line will be used as default.
CreateDir is delegated to create a new directory if not present.
Exist is delegated to verify that the given list of file exist in the directory.
ExtractWordFromFile is delegated to extract the word from a given file with the related frequencies.
FileExists verify that the file exist.
FilterFromFile is delegated to retrieve the lines that contain the target.
FindFiles is delegated to find the files from the given directory, recursively for each dir, and extract only the one that match the input.
GetFileContentType is delegated to retrieve the filetype for a given file path.
GetFileDate is delegated to return the date in a string format in which the file was (latest) modified.
GetFileModification return the last modification time of the file in input in a UNIX time format.
GetFileSize is delegated to return the bytes size of the given file.
GetFileSize2 is a less efficient method for calculate the file size.
IsDir is delegated to verify that the given path is a directory.
IsFile verify if the given filepath is a file.
ListFiles is delegated to find the files from the given directory, recursively for each dir.
No description provided by the author
No description provided by the author
ReadFileInArray is delegated to read the file content as tokenize the data by the new line.