[−][src]Module broot::path
Functions
closest_dir | return the closest enclosing directory |
do_exec_replacement | replace a group in the execution string, using data from the user input and from the selected line |
escape_for_shell | from a path, build a string usable in a shell command, wrapping it in quotes if necessary (and then escaping internal quotes). Don't do unnecessary transformation, so that the produced string is prettier on screen. |
normalize_path | Improve the path to try remove and solve .. token. |
path_from | build a usable path from a user input which may be absolute (if it starts with / or ~) or relative to the supplied base_dir. (we might want to try detect windows drives in the future, too) |
path_str_from |