# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
The CalculateTolerances function calculates upper and lower bounds based on a wanted file size and tolerance size in bytes.
The function `ConvertStringSizeToBytes` converts a string representation of size with units to bytes.
The function `GetOperatorSizeMatches` determines if a file size matches a specified operator, wanted file size, and tolerance size.
InRange checks if a target string matches any string in the options slice.
The function `IsDirectoryEmpty` checks if a directory is empty by listing its entries.
The IsExtensionValid function checks if a given file extension is valid for a specified file type based on a predefined list of allowed extensions.
The function `RemoveEmptyDir` checks if a directory is empty and removes it if it is.
The function `ToFileType` converts a string representation of a file type to a corresponding enum value from the `types.FileType` enum.
The function `ToOperatorType` converts a string representation of an operator type to its corresponding enum value.
Validate function using reflection.
# Variables
No description provided by the author
No description provided by the author