@@ -215,8 +215,8 @@ Result<T> FileSystem::ReadFileToValue(const std::string& path) const noexcept {
215215}
216216
217217template <>
218- Result<std::string> FileSystem::ReadFileToValue (const std::string& path) const
219- noexcept {
218+ Result<std::string> FileSystem::ReadFileToValue (
219+ const std::string& path) const noexcept {
220220 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto access_file,
221221 arrow_fs_->OpenInputFile (path));
222222 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto bytes, access_file->GetSize ());
@@ -293,8 +293,8 @@ Status FileSystem::WriteTableToFile(
293293}
294294
295295Status FileSystem::WriteLabelTableToFile (
296- const std::shared_ptr<arrow::Table>& table, const std::string& path) const
297- noexcept {
296+ const std::shared_ptr<arrow::Table>& table,
297+ const std::string& path) const noexcept {
298298 // try to create the directory, oss filesystem may not support this, ignore
299299 ARROW_UNUSED (arrow_fs_->CreateDir (path.substr (0 , path.find_last_of (" /" ))));
300300 GAR_RETURN_ON_ARROW_ERROR_AND_ASSIGN (auto output_stream,
@@ -398,7 +398,6 @@ Status FinalizeS3() {
398398template Result<IdType> FileSystem::ReadFileToValue<IdType>(
399399 const std::string&) const noexcept ;
400400// / template specialization for std::string
401- template Status FileSystem::WriteValueToFile<IdType>(const IdType&,
402- const std::string&) const
403- noexcept ;
401+ template Status FileSystem::WriteValueToFile<IdType>(
402+ const IdType&, const std::string&) const noexcept ;
404403} // namespace graphar
0 commit comments