Added strict mode, which enables the program to compare the hash of a model. Strict mode only applies when program is asked to download a model that has already been downloaded before, and have been instructed by the user to copy the model file locally instead of downloading from civitai.com when possible.
Closes #63
Added civitmisc and scan-mode to allow users to manually scan a folder/directory recursively and add local models to cache. Note that the only model files that currently can be added to cache are the ones that have been previously downloaded with civitdl.
Closes #63
Before merging
Final check the following on all three major OS
[x] Check strict mode works when downloading model multiple times to the same file path.
[x] Check strict mode works when downloading models multiple times to different file paths.
[x] Check if scan-mode works.
[x] Check if alias now work on Windows (no need to check this on MacOS or Linux).
Summary
civitai.com
when possible.civitmisc
andscan-mode
to allow users to manually scan a folder/directory recursively and add local models to cache. Note that the only model files that currently can be added to cache are the ones that have been previously downloaded withcivitdl
.Before merging