Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Commit

Permalink
Fix documentation for Repository.handle_put_loose_object/2. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten committed Aug 6, 2019
1 parent 3b324d6 commit 4bf297d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/xgit/repository.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ defmodule Xgit.Repository do
## Return Value
Should return `:ok` if written successfully.
Should return `{:ok, state}` if written successfully.
Should return `{:error, "reason"}` if unable to write the object.
Should return `{:error, "reason", state}` if unable to write the object.
"""
@callback handle_put_loose_object(state :: any, object :: Object.t()) ::
{:ok, state :: any} | {:error, reason :: String.t(), state :: any}
Expand Down

0 comments on commit 4bf297d

Please sign in to comment.