Resolve "Simple safe tool for EOS NS injection"
Summary
The tool will now fail if you try to inject a file into a path that already exists. As the tool needs to be idempotent, it should instead:
-
Create new function for skipping already injected and valid files -
Check if the path exists -
If it exists, check if the metadata is consistent with what has been provided -
If it is consistent, skip the injection, if not, fail
-
-
Move validation to new function -
Move creation check to new function -
Write skipped inconsistent metadata to txt file
Edited by Lasse Tjernaes Wardenaer