- validateFileExists
void validateFileExists(S file, string msg)
Validates that the files exist.
- validateFileExtension
void validateFileExtension(string file, string msg)
Validates that the file has one of the allowed extensions.
- validateFileWritable
void validateFileWritable(string file, string msg)
Validates that the file is writable.
- validateFilesExist
void validateFilesExist(R files, string msg)
Validates that the files exist.
- validatePositive
void validatePositive(V value, string msg)
Validates that value is positive.
- validateRangeNonNegativeAscending
void validateRangeNonNegativeAscending(string rangeString, string msg)
Validates that the values described by rangeString are non-negative and
in ascending order. Validation is skipped if rangeString is null.
- validateWithin
void validateWithin(V value, V from, V to, string msg)
Validates that value is in given interval.
- validateWritableDirectory
void validateWritableDirectory(string dir, string msg)
Validates that dir is a directory and files can be created inside of it.
Validate and parse config files.