Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The docstring states the directory upload 'can never wipe out pre-existing remote content,' but the implementation updates any remote file whose path matches a local file by supplying the existing SHA and issuing a PUT. That can overwrite important existing content such as index.html or other published assets, so the safety claim is misleading and may cause users to trust a destructive operation more than they should.
