micropython/tools/mpremote/mpremote
Rob Knegjens d3d862769a tools/mpremote: Add option to mount cmd to allow "unsafe" symlinks.
Specifying the option `--unsafe-links` (or `-l`) to `mpremote mount` will
allow symlinks to be followed in the local directory that point outside of
the base directory path.

For the unsafe case the `path_check()` method of `PyboardCommand` still
checks for a common path but without expanding symlinks.  While this check
is currently redundant, it makes the purpose of the method clearer for
possible future uses or extensions.
2022-04-11 15:15:04 +10:00
..
__init__.py
__main__.py
console.py
main.py tools/mpremote: Add option to mount cmd to allow "unsafe" symlinks. 2022-04-11 15:15:04 +10:00
pyboardextended.py tools/mpremote: Add option to mount cmd to allow "unsafe" symlinks. 2022-04-11 15:15:04 +10:00