Closed hhartzer closed 6 months ago
I still need to test this with Kodi, but the code itself may be good and possibly the final product. Feel free to leave comments, though.
Please don't merge yet if it does look good!
It works, except on files that exceed 1GB. I will push up a fix.
Please squash commits. :) Or I can do it at merge time if you prefer.
Feel free to do it at merge time in that case, but I'm happy to squash commits if that's easier for you.
Thanks!
Thank you for merging!
What does the .editorconfig file do? Did that just slip into the repo?
The commit msg states "Also add .editorconfig to help keep formatting consistent" - looks like spaces vs tabs to me.
I am blind, sorry
Whenever I would open darkhttpd.c in nvim, if I made a new line it would format it with tabs instead of spaces, making the file inconsistent. With the .editorconfig it doesn't do that.
It's pretty configurable and widely supported: https://editorconfig.org/
Another question: Why not print the mod times for directories too? Like this https://github.com/g-rden/darkhttpd/commit/c1d7c45d6b238bb6c52cd629f2c730033d13e721
Kodi probably doesn't use the dir times for anything, but I don't see a reason not to display them too.
That looks pretty good. Please send a PR.
Done in #61 - thanks!
Also add .editorconfig to help keep formatting consistent.
Fixes: #48