Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include "ortools/port/file.h"
#include <string>
#include "absl/status/status.h"
#include "ortools/base/logging.h"
#include <unistd.h>
#include "absl/strings/str_format.h"
#include "absl/time/clock.h"
#include "ortools/base/file.h"
#include "ortools/base/helpers.h"
#include "ortools/base/options.h"
Go to the source code of this file.
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
Functions | |
::absl::Status | operations_research::PortableFileSetContents (absl::string_view file_name, absl::string_view content) |
::absl::Status | operations_research::PortableFileGetContents (absl::string_view file_name, std::string *output) |
bool | operations_research::PortableTemporaryFile (const char *directory_prefix, std::string *filename_out) |
Returns true if successful. Outputs temp file to filename. | |
::absl::Status | operations_research::PortableDeleteFile (absl::string_view file_name) |