Pijul reset to undelete file/directory

To reset changes to a file, I can use pijul reset filename no problem. Except if I deleted a file and want to undelete it, pijul reset filename now reports the file does not exist (get a Rust “No such file or directory (os error 2)”) and it exits. Likewise, I cannot undelete a folder this way. Is this workflow supported in some way? Thanks!

git reset -- filename would be the git one, but if you’re getting rust errors is this pijul aliased as git?

Apologies, a typo in my original comment. I meant to say when I pijul reset filename that it will not undelete the file and I cannot restore it.