![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| None | __init__ (self) |
| str | stash (self, str path) |
| None | commit (self) |
| None | rollback (self) |
| bool | can_rollback (self) |
Protected Member Functions | |
| str | _get_directory_stash (self, str path) |
| str | _get_file_stash (self, str path) |
Protected Attributes | |
| _moves | |
| _save_dirs | |
A set of file rename operations to stash files while tentatively uninstalling them.
|
protected |
Stashes a directory. Directories are stashed adjacent to their original location if possible, or else moved/copied into the user's temp dir.
|
protected |
Stashes a file. If no root has been provided, one will be created for the directory in the user's temp directory.
| None pip._internal.req.req_uninstall.StashedUninstallPathSet.commit | ( | self | ) |
Commits the uninstall by removing stashed files.
| None pip._internal.req.req_uninstall.StashedUninstallPathSet.rollback | ( | self | ) |
Undoes the uninstall by moving stashed files back.
| str pip._internal.req.req_uninstall.StashedUninstallPathSet.stash | ( | self, | |
| str | path | ||
| ) |
Stashes the directory or file and returns its new location. Handle symlinks as files to avoid modifying the symlink targets.