FileName.exists

Check if the file the path points to exists

  1. int exists(const(char)* name)
    struct FileName
    nothrow extern (C++) static
    int
    exists
    (
    const(char)* name
    )
  2. int exists(const(char)[] name)

Return Value

Type: int

0 if it does not exists 1 if it exists and is not a directory 2 if it exists and is a directory

Meta