Absolutely no idea... It's not precised in the documentation to  `git_stash_delete`/`git_stash_foreach` and I can't easily tell just by looking at the code since I'm a complete libgit2 noob. I'll do some tests (as I said, that's fairly preliminary stuff).