micropython/tools/mpremote/mpremote
Damien George e53f262a85 tools/mpremote: For mip install, use hash to skip files that exist.
When using `mip install`, if a file that needs to be downloaded already
exists locally, then the hash of that local file will be computed and if it
matches the known hash of the remote file it will not be downloaded.

Hashes in mip are guaranteed unique, so this change should never leave
stale files on the filesystem.

This behaviour follows that of the `mip` package in `micropython-lib`.

Signed-off-by: Damien George <damien@micropython.org>
2025-05-02 11:44:32 +10:00
..
__init__.py tools/mpremote: Use hatch to build mpremote package. 2023-02-24 11:40:22 +11:00
__main__.py tools/mpremote: Allow running mpremote with python -m. 2022-03-30 15:29:26 +11:00
commands.py tools/mpremote: Prevent deletion of /remote files via rm -r. 2025-04-26 16:07:44 +10:00
console.py all: Fix cases of Python variable assigned but never used. 2023-05-02 16:36:05 +10:00
main.py tools/mpremote: Add recursive remove functionality to filesystem cmds. 2025-04-09 10:44:45 +10:00
mip.py tools/mpremote: For mip install, use hash to skip files that exist. 2025-05-02 11:44:32 +10:00
repl.py tools/mpremote: Detach mpremote from pyboard.py. 2023-06-02 17:42:13 +10:00
romfs.py tools/mpremote: Add romfs query, build and deploy commands. 2025-03-06 12:52:35 +11:00
transport_serial.py tools/mpremote: Prevent deletion of /remote files via rm -r. 2025-04-26 16:07:44 +10:00
transport.py tools/mpremote: Fix possibly-missing EOPNOTSUPP errno name. 2025-04-26 15:51:49 +10:00