validateFilesExist

Validates that the files exist.

  1. void validateFilesExist(in string[] files, lazy string msg = "cannot open file `%s`")
    void
    validateFilesExist
    (
    string option
    )
    (
    in string[] files
    ,
    lazy string msg = "cannot open file `%s`"
    )
  2. void validateFileExists(in string file, lazy string msg = "cannot open file `%s`")

Parameters

files
Type: string[]

File names of the files to be tested.

Throws

darg_plus.exception.ValidationError unless rangeString is null or 0 <= x && x < y.

See Also

validate, std.file.exists

Meta