◐ Shell
clean mode source ↗

managing dev/null file add and removal by memsharded · Pull Request #52 · techtonik/python-patch

Hi!

I am trying to contribute the behavior for adding/removing files, i.e. managing /dev/null.

Most likely this is a poor solution, but please let me know if some other approach is better:

  • The test suite is a bit custom, I was having duplicated tests, I finally added an "example" folder, but should be easily moved to a test
  • The system still warns about /dev/null abspath, but I wasn't confident enough to modify that part

Btw: thanks for sharing this useful library!