errors: add EDIRECTORY
errors: add EDIRECTORY

This is to be returned when the operation which the user asked for is
not possible to do on a directory.

nokiddin/libgit2,nokiddin/libgit2,nokiddin/libgit2,nokiddin/libgit2,nokiddin/libgit2,nokiddin/libgit2