mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Refactored dupeGuru to make hscommon.path's API a bit close to pathlib's API. It's not 100% compatible yet, but it's much better than before. This is more of a hscommon refactoring than a dupeguru one, but since duepGuru is the main user of Path, it was the driver behind the refactoring. This refactoring also see the introduction of @pathify, which ensure Path arguments. Previously, we were often unsure of whether the caller of a function was passing a Path or a str. This problem is now solved and this allows us to remove hscommon.io, an ill-conceived attempt to solve that same ambiguity problem. Fixes #235.
The documentation has to be built with Sphinx. You can get Sphinx at http://sphinx.pocoo.org/ Once you installed it, you can build the documentation with: cd docs sphinx-build . ../docs_html The reason why you have to move in 'docs' is because hscommon.io conflicts with the builtin 'io' module. The documentation is also available online at http://www.hardcoded.net/docs/hscommon