blob: 4c83cf664470a91cc715c08a54d0709ad404086d [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COBALT_UTIL_FILE_UTIL_H_
#define COBALT_UTIL_FILE_UTIL_H_
#include <string>
#include "third_party/statusor/statusor.h"
namespace cobalt {
namespace util {
statusor::StatusOr<std::string> ReadTextFile(const std::string& file_path);
statusor::StatusOr<std::string> ReadNonEmptyTextFile(
const std::string& file_path);
} // namespace util
} // namespace cobalt
#endif // COBALT_UTIL_FILE_UTIL_H_