jaydoane commented on code in PR #5373:
URL: https://github.com/apache/couchdb/pull/5373#discussion_r1900303029


##########
src/couch/src/couch_file.erl:
##########
@@ -152,60 +161,40 @@ assemble_file_chunk_and_checksum(Bin) ->
 %%----------------------------------------------------------------------
 %% Purpose: Reads a term from a file that was written with append_term
 %% Args:    Pos, the offset into the file where the term is serialized.
-%% Returns: {ok, Term}
-%%  or {error, Reason}.
+%% Returns: {ok, Term}, {error, Error} or throws an error

Review Comment:
   Did you consider converting these to specs?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to