micropython/tools/mpremote/mpremote
Damien George 4fd5b72a8b tools/mpremote: Support trailing slash on dest for non-recursive copy.
This fixes a regression in db59e55fe7: prior
to that commit `mpremote` supported trailing slashes on the destination of
a normal (non-recursive) copy.

Add back support for that, with the semantics that a trailing slash
requires the destination to be an existing directory.

Also add a test for this.

Signed-off-by: Damien George <damien@micropython.org>
2024-11-13 11:51:35 +11: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: Support trailing slash on dest for non-recursive copy. 2024-11-13 11:51:35 +11: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: Make sure stdout and stderr output appear in order. 2024-11-13 11:51:35 +11:00
mip.py tools/mpremote: Make filesystem commands use transport API. 2024-10-09 16:12:30 +11:00
repl.py tools/mpremote: Detach mpremote from pyboard.py. 2023-06-02 17:42:13 +10:00
transport_serial.py tools: Only issue a single Ctrl-C when entering raw REPL. 2024-10-15 11:40:08 +11:00
transport.py tools/mpremote: Fix UnboundLocalError in Transport.fs_writefile(). 2024-10-28 12:23:10 +11:00