@@ -212,8 +212,8 @@ Result<T> FileSystem::ReadFileToValue(const std::string& path) const noexcept {
212212}
213213
214214template <>
215- Result<std::string> FileSystem::ReadFileToValue (
216- const std::string& path) const noexcept {
215+ Result<std::string> FileSystem::ReadFileToValue (const std::string& path) const
216+ noexcept {
217217 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto access_file,
218218 arrow_fs_->OpenInputFile (path));
219219 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto bytes, access_file->GetSize ());
@@ -291,8 +291,8 @@ Status FileSystem::WriteTableToFile(
291291}
292292
293293Status FileSystem::WriteLabelTableToFile (
294- const std::shared_ptr<arrow::Table>& table,
295- const std::string& path) const noexcept {
294+ const std::shared_ptr<arrow::Table>& table, const std::string& path) const
295+ noexcept {
296296 // try to create the directory, oss filesystem may not support this, ignore
297297 ARROW_UNUSED (arrow_fs_->CreateDir (path.substr (0 , path.find_last_of (" /" ))));
298298 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto output_stream,
@@ -396,6 +396,7 @@ Status FinalizeS3() {
396396template Result<IdType> FileSystem::ReadFileToValue<IdType>(
397397 const std::string&) const noexcept ;
398398// / template specialization for std::string
399- template Status FileSystem::WriteValueToFile<IdType>(
400- const IdType&, const std::string&) const noexcept ;
399+ template Status FileSystem::WriteValueToFile<IdType>(const IdType&,
400+ const std::string&) const
401+ noexcept ;
401402} // namespace graphar
0 commit comments