OR-Tools  8.1
port/file.h File Reference

Go to the source code of this file.

Namespaces

 operations_research
 The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows.
 

Functions

::absl::Status PortableFileSetContents (absl::string_view file_name, absl::string_view content)
 
::absl::Status PortableFileGetContents (absl::string_view file_name, std::string *output)
 
::absl::Status PortableDeleteFile (absl::string_view file_name)
 
bool PortableTemporaryFile (const char *directory_prefix, std::string *filename_out)