validateFileExists

Validates that the files exist.

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

Parameters

file
Type: string

File name of the file to be tested.

Throws

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

See Also

validate, std.file.exists

Meta