@@ -41,7 +41,7 @@ class ICEBERG_EXPORT ManifestWriter {
4141
4242 // / \brief Write the entry that all its fields are populated correctly.
4343 // / \param entry Manifest entry to write.
44- // / \return Status::OK() if entry was written successfully
44+ // / \return Status indicating success or failure
4545 // / \note All other write entry variants delegate to this method after populating
4646 // / the necessary fields.
4747 Status WriteEntry (const ManifestEntry& entry);
@@ -50,7 +50,7 @@ class ICEBERG_EXPORT ManifestWriter {
5050 // /
5151 // / \param file an added data file
5252 // / \param data_sequence_number a data sequence number for the file
53- // / \return Status::OK() if the entry was written successfully
53+ // / \return Status indicating success or failure
5454 // / \note The entry's snapshot ID will be this manifest's snapshot ID. The entry's data
5555 // / sequence number will be the provided data sequence number. The entry's file sequence
5656 // / number will be assigned at commit.
@@ -67,7 +67,7 @@ class ICEBERG_EXPORT ManifestWriter {
6767 // / file was added)
6868 // / \param file_sequence_number a file sequence number (assigned when the file was
6969 // / added)
70- // / \return Status::OK() if the entry was written successfully
70+ // / \return Status indicating success or failure
7171 // / \note The original data and file sequence numbers, snapshot ID, which were assigned
7272 // / at commit, must be preserved when adding an existing entry.
7373 Status WriteExistingEntry (std::shared_ptr<DataFile> file, int64_t file_snapshot_id,
@@ -83,7 +83,7 @@ class ICEBERG_EXPORT ManifestWriter {
8383 // / file was added)
8484 // / \param file_sequence_number a file sequence number (assigned when the file was
8585 // / added)
86- // / \return Status::OK() if the entry was written successfully
86+ // / \return Status indicating success or failure
8787 // / \note The entry's snapshot ID will be this manifest's snapshot ID. However, the
8888 // / original data and file sequence numbers of the file must be preserved when the file
8989 // / is marked as deleted.
@@ -95,7 +95,7 @@ class ICEBERG_EXPORT ManifestWriter {
9595
9696 // / \brief Write manifest entries to file.
9797 // / \param entries Already populated manifest entries to write.
98- // / \return Status::OK() if all entries were written successfully
98+ // / \return Status indicating success or failure
9999 Status AddAll (const std::vector<ManifestEntry>& entries);
100100
101101 // / \brief Close writer and flush to storage.
@@ -191,12 +191,12 @@ class ICEBERG_EXPORT ManifestListWriter {
191191
192192 // / \brief Write manifest file to manifest list file.
193193 // / \param file Manifest file to write.
194- // / \return Status::OK() if file was written successfully
194+ // / \return Status indicating success or failure
195195 Status Add (const ManifestFile& file);
196196
197197 // / \brief Write manifest file list to manifest list file.
198198 // / \param files Manifest file list to write.
199- // / \return Status::OK() if all files were written successfully
199+ // / \return Status indicating success or failure
200200 Status AddAll (const std::vector<ManifestFile>& files);
201201
202202 // / \brief Close writer and flush to storage.
0 commit comments