Skip to content

Commit

Permalink
Let's not implement check_path on SystemReader. (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten committed May 30, 2019
1 parent 4fa0fc8 commit 872a389
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions lib/xgit/util/system_reader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -207,18 +207,9 @@ defprotocol Xgit.Util.SystemReader do
# return isMacOS.booleanValue();
# }

# /**
# * Check tree path entry for validity.
# * <p>
# * Scans a multi-directory path string such as {@code "src/main.c"}.
# *
# * @param path path string to scan.
# * @throws org.eclipse.jgit.errors.CorruptObjectException path is invalid.
# * @since 3.6
# */
# public void checkPath(String path) throws CorruptObjectException {
# platformChecker.checkPath(path);
# }
# PORTING NOTE: We do not implement check_path in SystemReader.
# Callers should instead create an instance of ObjectReader and call
# check_path_segment on that instance intead.
end

defimpl Xgit.Util.SystemReader, for: Any do
Expand Down

0 comments on commit 872a389

Please sign in to comment.