Function parse_file(const std::string&, bool)

Function Documentation

fs::path parse_file(const std::string &x, bool exists = false)

Check if the path is already existing and is a file

Parameters
  • x – Path of directory to be check

  • exists – expected of already existing or not

Returns

absolute path if a valid file